This commit is contained in:
Kovid Goyal 2025-02-01 09:49:49 +05:30
parent 732f09cd2b
commit 5c95a0ad18
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -114,7 +114,7 @@ class MTP_DEVICE(BASE):
'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts', 'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts',
'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
if lpath[0].startswith('.') and lpath[0] != '.tolino' and lpath[0] != '.notebooks': if lpath[0].startswith('.') and lpath[0] not in ('.tolino', '.notebooks'):
# apparently the Tolino for some reason uses a hidden folder for its library, sigh. # apparently the Tolino for some reason uses a hidden folder for its library, sigh.
# Kindle Scribe stores user notebooks in subfolders of '.notebooks' # Kindle Scribe stores user notebooks in subfolders of '.notebooks'
return True return True