Fix existing_mailbox check

pull/18777/head
Andy Baker 9 years ago committed by Matt Clay
parent 899784c638
commit 507352e4f0

@ -99,7 +99,7 @@ def main():
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
result = {}

Loading…
Cancel
Save