mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Check library did not know about original_* files
This commit is contained in:
parent
b32c1158b0
commit
48641b7c6c
@ -150,6 +150,8 @@ class CheckLibrary(object):
|
|||||||
if not ext:
|
if not ext:
|
||||||
return False
|
return False
|
||||||
ext = ext[1:].lower()
|
ext = ext[1:].lower()
|
||||||
|
if ext.startswith('original_'):
|
||||||
|
ext = ext[len('original_'):]
|
||||||
if ext in EBOOK_EXTENSIONS:
|
if ext in EBOOK_EXTENSIONS:
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user