1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

cli.py user now prints '0' rather than 'unlimited' for quota

This commit is contained in:
Chad Furman 2024-10-02 12:25:28 -04:00
parent 1bff0a458f
commit 0ff96f70d4

View File

@ -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()