From b557e69313fdfd5fc18b2f07d735664c0013e0ce Mon Sep 17 00:00:00 2001 From: John Supplee Date: Mon, 28 Jan 2019 17:24:11 +0200 Subject: [PATCH] display unlimited when quota is 0 --- management/mailconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/mailconfig.py b/management/mailconfig.py index 5d5f5343..783461ec 100755 --- a/management/mailconfig.py +++ b/management/mailconfig.py @@ -135,7 +135,7 @@ def get_mail_users_ex(env, with_archived=False): user = { "email": email, "privileges": parse_privs(privileges), - "quota": quota, + "quota": 'unlimited' if quota == '0' else quota, "status": "active", } users.append(user)