aboutsummaryrefslogtreecommitdiff
path: root/mu4web/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'mu4web/main.py')
-rw-r--r--mu4web/main.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mu4web/main.py b/mu4web/main.py
index 8a5fa62..776f655 100644
--- a/mu4web/main.py
+++ b/mu4web/main.py
@@ -418,8 +418,8 @@ def search_result(q: str, by: Optional[str], direction: str) -> HTML:
if data and key == 'date':
dt = datetime.fromtimestamp(int(data))
data = dt.strftime('%Y-%m-%d %H:%M')
- rowdata.append(['td', ('a', {'href': '/?id=' + row['msgid']}, data)])
- body.append(['tr', rowdata])
+ rowdata.append(('td', ('a', {'href': '/?id=' + row['msgid']}, data)))
+ body.append(('tr', rowdata))
if len(rows) == 0:
return "Inga träffar"