mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MTP driver: Ignore fonts and system top-level folders
This commit is contained in:
parent
3611a73d96
commit
32814c3607
@ -94,7 +94,7 @@ class MTP_DEVICE(BASE):
|
|||||||
# Top level ignores
|
# Top level ignores
|
||||||
if lpath[0] in {
|
if lpath[0] in {
|
||||||
'alarms', 'dcim', 'movies', 'music', 'notifications',
|
'alarms', 'dcim', 'movies', 'music', 'notifications',
|
||||||
'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth',
|
'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts', 'system',
|
||||||
'games', 'lost.dir', 'video', 'whatsapp', 'image', 'com.zinio.mobile.android.reader'}:
|
'games', 'lost.dir', 'video', 'whatsapp', 'image', 'com.zinio.mobile.android.reader'}:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user