Skip to content

Commit

Permalink
ok i will stop being OCD now
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneknapp committed Dec 13, 2023
1 parent 4099396 commit a49960b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/delete-unused-users.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def main(args):
token = os.environ["JUPYTERHUB_API_TOKEN"]
delete_users_from_hub(args.hub_url, token, args.inactive_since, args.dry_run)
elif args.credentials:
logger.info("Attempting to use credentials file: {args.credentials}")
creds = json.loads(open(args.credentials).read())
if not creds:
logger.error(f"The credentials file is empty: {args.credentials}")
Expand Down

0 comments on commit a49960b

Please sign in to comment.