From e350eca3ef1c28e1469e824c8b427999b9d7b743 Mon Sep 17 00:00:00 2001 From: evilhero Date: Mon, 7 Oct 2019 13:18:17 -0400 Subject: [PATCH] FIX:(#2359) Unicode logging error on status update during search --- mylar/updater.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mylar/updater.py b/mylar/updater.py index c807345c..57413c8f 100755 --- a/mylar/updater.py +++ b/mylar/updater.py @@ -856,8 +856,7 @@ def foundsearch(ComicID, IssueID, mode=None, down=None, provider=None, SARC=None pass myDB.upsert("oneoffhistory", newValue, ctlVal) - - logger.info(module + ' Updated the status (Snatched) complete for ' + ComicName + ' Issue: ' + str(IssueNum)) + logger.info('%s Updated the status (Snatched) complete for %s Issue: %s' % (module, ComicName, IssueNum)) else: if down == 'PP': logger.info(module + ' Setting status to Post-Processed in history.') @@ -917,7 +916,7 @@ def foundsearch(ComicID, IssueID, mode=None, down=None, provider=None, SARC=None newVal['year'] = pullinfo['year'] myDB.upsert("oneoffhistory", newVal, ctlVal) - logger.info(module + ' Updating Status (' + downstatus + ') now complete for ' + ComicName + ' issue: ' + IssueNum) + logger.info('%s Updating Status (%s) now completed for %s issue: %s' (module, downstatus, ComicName, IssueNum)) return def forceRescan(ComicID, archive=None, module=None, recheck=False):