A quick dirty fix of #401

- Tested on version 0.10.6 on pypi, so it would be great if
someone can test it on the master version
pull/406/head
Yuchen Pei 6 years ago
parent af3903e462
commit b85d8ec961

@ -37,6 +37,7 @@ class SMTP(object):
self.isso = isso
self.conf = isso.conf.section("smtp")
self.general_host = isso.conf.get("general", "host")
# test SMTP connectivity
try:
@ -109,7 +110,7 @@ class SMTP(object):
(local("origin") + thread["uri"] + "#isso-%i" % comment["id"]))
rv.write("\n")
uri = local("host") + "/id/%i" % comment["id"]
uri = self.general_host + "/id/%i" % comment["id"]
key = self.isso.sign(comment["id"])
rv.write("---\n")

Loading…
Cancel
Save