Skip to content

Commit dd7df50

Browse files
committed
bugfix
1 parent fd58c6e commit dd7df50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ulc_mm_package/QtGUI/study_metadata_form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def list_available_studies() -> Dict[str, dict]:
229229

230230

231231
def get_cfg_from_study_id(study_id: str) -> Optional[Dict]:
232-
if study_id == "":
232+
if study_id == "" or study_id is None:
233233
return None
234234
studies = list_available_studies()
235235
for study in studies:

0 commit comments

Comments
 (0)