Skip to content

Commit

Permalink
fix for user = None
Browse files Browse the repository at this point in the history
  • Loading branch information
bimac committed Jul 18, 2023
1 parent 58c6236 commit d8b3e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iblrig/gui/wizard.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class RigWizardModel:

def __post_init__(self):
self.iblrig_settings = iblrig.path_helper.load_settings_yaml()
self.all_users = [self.iblrig_settings['ALYX_USER']]
self.all_users = [self.iblrig_settings['ALYX_USER']] if self.iblrig_settings['ALYX_USER'] else []
self.all_procedures = sorted(PROCEDURES)
# for the tasks, we build a dictionary that contains the task name as key and the path to the task.py as value
tasks = sorted([p for p in Path(iblrig_tasks.__file__).parent.rglob('task.py')])
Expand Down

0 comments on commit d8b3e09

Please sign in to comment.