Skip to content

Commit

Permalink
Merge pull request #31 from jpower432/bug/ssp-mode-dir
Browse files Browse the repository at this point in the history
fix: updates comparison for ssp type in get_trestle_model_dir
  • Loading branch information
Alex Flom authored Aug 10, 2023
2 parents 060a1b8 + ed1321c commit 7cb0fc5
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 7cb0fc5

Please sign in to comment.