Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pheenoh committed Apr 7, 2024
1 parent 3078646 commit 34d16b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manage-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def manage_users(dry_run=False):
if dry_run:
if rm_users > 0 or update_users > 0:
sys.exit(1)
elif add_users > 0:
elif add_users["num_users"] > 0:
for permission in add_users["permissions"]:
if permission in ["write", "admin"]:
sys.exit(1)
Expand Down

0 comments on commit 34d16b8

Please sign in to comment.