Merge pull request #1024 from andybak/patch-2
Fix existing_mailbox check
This commit is contained in:
commit
bc07c3b504
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ def main():
|
||||||
module.params['login_password']
|
module.params['login_password']
|
||||||
)
|
)
|
||||||
|
|
||||||
mailbox_list = webfaction.list_mailboxes(session_id)
|
mailbox_list = [x['mailbox'] for x in webfaction.list_mailboxes(session_id)]
|
||||||
existing_mailbox = mailbox_name in mailbox_list
|
existing_mailbox = mailbox_name in mailbox_list
|
||||||
|
|
||||||
result = {}
|
result = {}
|
||||||
|
|
Loading…
Reference in a new issue