From ed1321ce9d0dab84ae1d9933d24e7e2d88b55ca6 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Tue, 8 Aug 2023 17:33:55 -0400 Subject: [PATCH] fix: updates comparison for ssp type in get_trestle_model_dir Signed-off-by: Jennifer Power --- trestlebot/tasks/authored/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trestlebot/tasks/authored/types.py b/trestlebot/tasks/authored/types.py index 9a411669..4f8dc63e 100644 --- a/trestlebot/tasks/authored/types.py +++ b/trestlebot/tasks/authored/types.py @@ -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}")