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

parent a3df7519
......@@ -72,7 +72,8 @@ if len(auth_item) == 2:\n
auth, promise_url = auth_item\n
smtp_uid, smtp_pwd = auth.split(\':\')\n
else:\n
smtp_uid, smtp_pwd = ""\n
smtp_uid = ""\n
smtp_pwd = ""\n
promise_url = auth_item[0]\n
\n
domain_port = promise_url.split(\'/\', 1)[0]\n
......
27
\ No newline at end of file
28
\ 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