From f1e8702d34b268db120f5454cd6fe88f6a4a621a Mon Sep 17 00:00:00 2001 From: evilhero Date: Sat, 4 May 2019 13:26:29 -0400 Subject: [PATCH] FIX: fix for cover import error incorrectly using wrong variable reference --- mylar/importer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mylar/importer.py b/mylar/importer.py index b308f1dd..1c964f9b 100644 --- a/mylar/importer.py +++ b/mylar/importer.py @@ -1610,9 +1610,9 @@ def image_it(comicid, latestissueid, comlocation, ComicImage): if mylar.CONFIG.ENFORCE_PERMS: filechecker.setperms(comiclocal) except IOError as e: - logger.error('[%e] Error saving cover into series directory (%s) at this time' % (e, comiclocal)) + logger.error('[%s] Error saving cover into series directory (%s) at this time' % (e, comiclocal)) except Exception as e: - logger.error('[%e] Unable to save cover into series directory (%s) at this time' % (e, comiclocal)) + logger.error('[%s] Unable to save cover into series directory (%s) at this time' % (e, comiclocal)) myDB = db.DBConnection() myDB.upsert('comics', {'ComicImage': ComicImage}, {'ComicID': comicid})