FIX: fix for cover import error incorrectly using wrong variable reference

This commit is contained in:
evilhero 2019-05-04 13:26:29 -04:00
parent 779eab841a
commit f1e8702d34
1 changed files with 2 additions and 2 deletions

View File

@ -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})