mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MTP driver: Remove various filetypes that are not actually ebooks
This commit is contained in:
parent
e1c3e1905e
commit
ae2b4a4214
@ -18,7 +18,7 @@ from calibre.utils.date import local_tz, as_utc
|
|||||||
from calibre.utils.icu import sort_key, lower
|
from calibre.utils.icu import sort_key, lower
|
||||||
from calibre.ebooks import BOOK_EXTENSIONS
|
from calibre.ebooks import BOOK_EXTENSIONS
|
||||||
|
|
||||||
bexts = frozenset(BOOK_EXTENSIONS)
|
bexts = frozenset(BOOK_EXTENSIONS) - {'mbp', 'tan', 'rar', 'zip', 'xml'}
|
||||||
|
|
||||||
class FileOrFolder(object):
|
class FileOrFolder(object):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user