Skip to content

Commit

Permalink
fix: updates comparison for ssp type in get_trestle_model_dir
Browse files Browse the repository at this point in the history
Signed-off-by: Jennifer Power <barnabei.jennifer@gmail.com>
  • Loading branch information
jpower432 committed Aug 8, 2023
1 parent 8f875fb commit ed1321c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trestlebot/tasks/authored/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_trestle_model_dir(input_type: str) -> str:
return const.MODEL_DIR_PROFILE
elif input_type == AuthoredType.COMPDEF.value:
return const.MODEL_DIR_COMPDEF
elif input_type is AuthoredType.SSP.value:
elif input_type == AuthoredType.SSP.value:
return const.MODEL_DIR_SSP
else:
raise AuthoredObjectException(f"Invalid authored type {input_type}")

0 comments on commit ed1321c

Please sign in to comment.