From 9a8e0b524ee4556f72dff338bc6601a3aa4b1b67 Mon Sep 17 00:00:00 2001 From: Martin Zimmermann Date: Wed, 30 Oct 2013 10:06:28 +0100 Subject: [PATCH] build notify mail with first hostname --- isso/views/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isso/views/comment.py b/isso/views/comment.py index f770b44..58b98c0 100644 --- a/isso/views/comment.py +++ b/isso/views/comment.py @@ -97,7 +97,7 @@ def new(app, environ, request, uri): except db.IssoDBException: abort(403) - host = app.conf.get('general', 'host').rstrip("/") + host = list(app.conf.getiter('general', 'host'))[0].rstrip("/") href = host + uri + "#isso-%i" % rv["id"] deletion = host + environ["SCRIPT_NAME"] + "/delete/" + app.sign(str(rv["id"]))