From 0ff96f70d4a93db07eafb82bfeffec115e8dd65e Mon Sep 17 00:00:00 2001 From: Chad Furman Date: Wed, 2 Oct 2024 12:25:28 -0400 Subject: [PATCH] cli.py user now prints '0' rather than 'unlimited' for quota --- management/cli.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/management/cli.py b/management/cli.py index f01c8062..457901de 100755 --- a/management/cli.py +++ b/management/cli.py @@ -89,9 +89,7 @@ elif sys.argv[1] == "user" and len(sys.argv) == 2: print(user['email'], end='') if "admin" in user['privileges']: print("*", end='') - if user['quota'] == '0': - print(" unlimited", end='') - else: + if 'quota' in user: print(" " + user['quota'], end='') print()