Skip to content

Commit

Permalink
Merge pull request #872 from GeorgianaElena/uoft-deployer
Browse files Browse the repository at this point in the history
Consider the case when there is no staff id list
  • Loading branch information
GeorgianaElena authored Dec 6, 2021
2 parents 0ed463c + 4566d52 commit bff4f68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deployer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ def replace_staff_placeholder(user_list, staff):
if staff_placeholder in user_list:
custom_users.remove(staff_placeholder)

return custom_users + staff_ids
custom_users = custom_users + staff_ids

# If no staff placeholder was provided, then return the original list of users
return custom_users

def update_authenticator_config(config, template):
"""Prepare a hub's configuration file for deployment."""
Expand Down

0 comments on commit bff4f68

Please sign in to comment.