FIX: saving cover would enforce permissions due to copy instead of copyfile

This commit is contained in:
evilhero 2016-12-24 01:41:39 -05:00
parent 921413a34e
commit 5b0c21510d
1 changed files with 1 additions and 1 deletions

View File

@ -490,7 +490,7 @@ def addComictoDB(comicid, mismatch=None, pullupd=None, imported=None, ogcname=No
if mylar.COMIC_COVER_LOCAL:
try:
comiclocal = os.path.join(comlocation, 'cover.jpg')
shutil.copy(coverfile, comiclocal)
shutil.copyfile(coverfile, comiclocal)
if mylar.ENFORCE_PERMS:
filechecker.setperms(comiclocal)
except IOError as e: