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