Commit 2655d07a authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Rafael Monnerat

erp5_promise: correct bad syntax when there is no smtp auth.

parent 94000404
...@@ -72,7 +72,8 @@ if len(auth_item) == 2:\n ...@@ -72,7 +72,8 @@ if len(auth_item) == 2:\n
auth, promise_url = auth_item\n auth, promise_url = auth_item\n
smtp_uid, smtp_pwd = auth.split(\':\')\n smtp_uid, smtp_pwd = auth.split(\':\')\n
else:\n else:\n
smtp_uid, smtp_pwd = ""\n smtp_uid = ""\n
smtp_pwd = ""\n
promise_url = auth_item[0]\n promise_url = auth_item[0]\n
\n \n
domain_port = promise_url.split(\'/\', 1)[0]\n domain_port = promise_url.split(\'/\', 1)[0]\n
......
27 28
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment