From 5c95a0ad18c2bb9a4eebf232b00bbda309778c83 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 1 Feb 2025 09:49:49 +0530 Subject: [PATCH] pep8 --- src/calibre/devices/mtp/driver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/mtp/driver.py b/src/calibre/devices/mtp/driver.py index 3ec925113c..e2b5dc6ec3 100644 --- a/src/calibre/devices/mtp/driver.py +++ b/src/calibre/devices/mtp/driver.py @@ -114,7 +114,7 @@ class MTP_DEVICE(BASE): 'pictures', 'ringtones', 'samsung', 'sony', 'htc', 'bluetooth', 'fonts', 'games', 'lost.dir', 'video', 'whatsapp', 'image', 'com.zinio.mobile.android.reader'}: 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. # Kindle Scribe stores user notebooks in subfolders of '.notebooks' return True