Skip to content

Commit

Permalink
NoRmAlIzE cApItAlIzAtIoN
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Sep 27, 2023
1 parent 41e9a17 commit b7bed9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/delete-unused-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ async def main():
print(f"expected datetime.datetime class for last_activity, got {activity_type} instead.")
raise

print(f"user: {user['name']}")
print(f"last login: {last_activity}")
print(f"User: {user['name']}")
print(f"Last login: {last_activity}")
print(f"24hrs since last login: {was_active_last_day}")
print(f"running server: {user['server']}")
print(f"Running server: {user['server']}")
if (last_activity and was_active_last_day) or (user['server'] is not None):
print(f"Not deleting {user['name']}")
else:
Expand Down

0 comments on commit b7bed9c

Please sign in to comment.