mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-23 02:27: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='')
|
print(user['email'], end='')
|
||||||
if "admin" in user['privileges']:
|
if "admin" in user['privileges']:
|
||||||
print("*", end='')
|
print("*", end='')
|
||||||
if user['quota'] == '0':
|
if 'quota' in user:
|
||||||
print(" unlimited", end='')
|
|
||||||
else:
|
|
||||||
print(" " + user['quota'], end='')
|
print(" " + user['quota'], end='')
|
||||||
print()
|
print()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user