1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-25 19:17:22 +01:00

fix syntax errors

This commit is contained in:
downtownallday
2024-09-07 10:47:31 -04:00
parent bd6f3a8b2b
commit 77c6a53f81
4 changed files with 11 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ def get_mail_users_ex(env, with_archived=False):
#email = rec['maildrop'][0]
email = rec['mail'][0]
privileges = rec['mailaccess']
quota = rec['mailboxQuota'][0] if len(rec['mailboxQuota']>0) else '0'
quota = rec['mailboxQuota'][0] if len(rec['mailboxQuota'])>0 else '0'
display_name = rec['cn'][0]
active_accounts.add(email)
@@ -384,7 +384,7 @@ def get_mail_users_ex(env, with_archived=False):
"privileges": [],
"status": "inactive",
"mailbox": mbox,
"display_name": ""
"display_name": "",
"box_size": '?',
"box_quota": '?',
"percent": '?',