From 7ff779def2ddc630a97c4c389ade0c1c84f77512 Mon Sep 17 00:00:00 2001 From: evilhero Date: Mon, 16 May 2016 11:16:12 -0400 Subject: [PATCH] FIX:(#1279) Detect cb7 files during file-checking --- mylar/filechecker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mylar/filechecker.py b/mylar/filechecker.py index 49c8f9c9..d4abafc7 100755 --- a/mylar/filechecker.py +++ b/mylar/filechecker.py @@ -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)