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:
parent
1bff0a458f
commit
0ff96f70d4
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user