Skip to content

Commit

Permalink
code review of Davide Principi
Browse files Browse the repository at this point in the history
Co-authored-by: Davide Principi <davide.principi@nethesis.it>
  • Loading branch information
stephdl and DavidePrincipi authored Feb 6, 2024
1 parent c285142 commit 893606b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/actions/get-defaults/20readconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ for key in agent.list_service_providers(rdb,'imap','tcp'):
mail = key['module_id']
get_retval = agent.tasks.run(f"module/{mail}",'list-domains')
for kd in get_retval['output']:
if 'addusers' in kd and kd.get('addusers') == True:
if kd.get('addusers') == True:
obj = {
"name": key['module_id'],
"label": f"{kd['domain']} ({key['mail_hostname']})",
Expand Down

0 comments on commit 893606b

Please sign in to comment.