From 89d04ff99baea815ced57f45bf744143f6953063 Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Mon, 22 Oct 2018 18:38:35 +0200 Subject: [PATCH] fixed the link formatting br was included --- infomentor/informer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infomentor/informer.py b/infomentor/informer.py index 4a74c7a..375b64e 100755 --- a/infomentor/informer.py +++ b/infomentor/informer.py @@ -60,7 +60,7 @@ class Informer(object): text = news.content for attachment in news.attachments: fid, fname = attachment.localpath.split('/') - text += '''
Attachment {0}: https://files.hyttioaoa.de/{1}
'''.format(fname, attachment.localpath) + text += '''
Attachment {0}: https://files.hyttioaoa.de/{1}
'''.format(fname, attachment.localpath) parsed_date = dateparser.parse(news.date) now = datetime.datetime.now() parsed_date += datetime.timedelta(hours=now.hour, minutes=now.minute)