mirror of
https://github.com/evilhero/mylar
synced 2025-02-01 20:11:31 +00:00
FIX:(#1279) Detect cb7 files during file-checking
This commit is contained in:
parent
63729d2a23
commit
7ff779def2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue