From a7de74bb8145a418153eb3fe0d2e44501e582f48 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 22 Nov 2020 16:02:18 +0000 Subject: [PATCH] Plus --- newswire.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/newswire.py b/newswire.py index 86ff2935..11f37f6e 100644 --- a/newswire.py +++ b/newswire.py @@ -213,9 +213,9 @@ def xml2StrToDict(baseDir: str, domain: str, xmlStr: str, publishedDate = publishedDate + hoursAdded postFilename = '' votesStatus = [] + pubDateStr = str(publishedDate) + '+00:00' addNewswireDictEntry(baseDir, domain, - result, - str(publishedDate) + '00:00', + result, pubDateStr, title, link, votesStatus, postFilename, description, moderated, mirrored) @@ -346,9 +346,9 @@ def atomFeedToDict(baseDir: str, domain: str, xmlStr: str, publishedDate = publishedDate + hoursAdded postFilename = '' votesStatus = [] + pubDateStr = str(publishedDate) + '+00:00' addNewswireDictEntry(baseDir, domain, - result, - str(publishedDate) + '00:00', + result, pubDateStr, title, link, votesStatus, postFilename, description, moderated, mirrored)