Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
Signed-off-by: tiksan <>
  • Loading branch information
tiksan committed Nov 20, 2023
1 parent be3316f commit 9315cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skynet/skyutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def get_admin_keys(interaction, all_keys: bool = False) -> tuple:
except DoesNotExist:
continue

if admin_user.key == "":
if admin_user.key == "" or admin_user.key is None:
continue

admin_keys.append(admin_user.key)
Expand Down

0 comments on commit 9315cc6

Please sign in to comment.