mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
pep8
This commit is contained in:
parent
732f09cd2b
commit
5c95a0ad18
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user