Skip to content

Commit

Permalink
Strip whitespace when listifying admin users
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Aug 6, 2024
1 parent 26d93d3 commit 3a2bc2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def admin_users(self):
@admin_users.setter
def admin_users(self, value):
self._admin_users = value
self.admin_users_list = listify(value)
self.admin_users_list = listify(value, do_strip=True)

def is_admin_user(self, user: Optional["User"]) -> bool:
"""Determine if the provided user is listed in `admin_users`."""
Expand Down

0 comments on commit 3a2bc2c

Please sign in to comment.