From be36b6ce91501fd6fb4f5c7e94d3910a5a77fc9d Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sun, 21 Oct 2018 08:58:41 +0200 Subject: [PATCH] fixed dateparsing --- infomentor/informer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/infomentor/informer.py b/infomentor/informer.py index 5147cb4..0ab1a75 100755 --- a/infomentor/informer.py +++ b/infomentor/informer.py @@ -137,7 +137,6 @@ class Informer(object): for attachment in hw.attachments: fid, fname = attachment.localpath.split('/') text += '''
Attachment {0}: https://files.hyttioaoa.de/{1}
'''.format(fname, attachment.localpath) - parsed_date = dateparser.parse(hw.date) if len(text) > 900: url = self._make_site(text) shorttext = text[:900]