1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2025-02-02 04:21:43 +00:00

FIX:(#1279) Detect cb7 files during file-checking

This commit is contained in:
evilhero 2016-05-16 11:16:12 -04:00
parent 63729d2a23
commit 7ff779def2

View file

@ -219,7 +219,7 @@ class FileChecker(object):
#parse out the extension for type
comic_ext = ('.cbr','.cbz')
comic_ext = ('.cbr','.cbz','.cb7')
if os.path.splitext(filename)[1].endswith(comic_ext):
filetype = os.path.splitext(filename)[1]
else:
@ -922,7 +922,7 @@ class FileChecker(object):
def traverse_directories(self, dir):
filelist = []
comic_ext = ('.cbr','.cbz')
comic_ext = ('.cbr','.cbz','.cb7')
dir = dir.encode(mylar.SYS_ENCODING)