mirror of
https://github.com/evilhero/mylar
synced 2025-03-08 04:43:37 +00:00
FIX: fix for cover import error incorrectly using wrong variable reference
This commit is contained in:
parent
779eab841a
commit
f1e8702d34
1 changed files with 2 additions and 2 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Reference in a new issue