diff --git a/app/controller/command/commands/team.py b/app/controller/command/commands/team.py index 3b7d28c0..6def3a2e 100644 --- a/app/controller/command/commands/team.py +++ b/app/controller/command/commands/team.py @@ -703,11 +703,13 @@ def refresh_drive_permissions(self, t: Team): users = self.facade. \ query(User, [('github_user_id', github_id)]) if len(users) != 1: - logging.error(f"None/multiple users for GitHub ID {github_id}") - continue - user = users[0] - if len(user.email) > 0: - emails.append(user.email) + logging.warn(f"None/multiple users for GitHub ID {github_id}") + + # For now, naiively iterate over all users, due to + # https://github.com/ubclaunchpad/rocket2/issues/493 + for user in users: + if len(user.email) > 0: + emails.append(user.email) # Sync permissions if len(emails) > 0: