1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-22 07:42:24 +00:00

FIX:(#2359) Unicode logging error on status update during search

This commit is contained in:
evilhero 2019-10-07 13:18:17 -04:00
parent 29f39e59ed
commit e350eca3ef

View file

@ -856,8 +856,7 @@ def foundsearch(ComicID, IssueID, mode=None, down=None, provider=None, SARC=None
pass pass
myDB.upsert("oneoffhistory", newValue, ctlVal) myDB.upsert("oneoffhistory", newValue, ctlVal)
logger.info('%s Updated the status (Snatched) complete for %s Issue: %s' % (module, ComicName, IssueNum))
logger.info(module + ' Updated the status (Snatched) complete for ' + ComicName + ' Issue: ' + str(IssueNum))
else: else:
if down == 'PP': if down == 'PP':
logger.info(module + ' Setting status to Post-Processed in history.') 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'] newVal['year'] = pullinfo['year']
myDB.upsert("oneoffhistory", newVal, ctlVal) 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 return
def forceRescan(ComicID, archive=None, module=None, recheck=False): def forceRescan(ComicID, archive=None, module=None, recheck=False):