From fde766f2c91fd3221d514f821855139bfe575bfe Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 30 Oct 2020 07:39:31 +0530 Subject: [PATCH] pep8 --- src/calibre/devices/kobo/driver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/calibre/devices/kobo/driver.py b/src/calibre/devices/kobo/driver.py index fdb50e1d43..58988883ef 100644 --- a/src/calibre/devices/kobo/driver.py +++ b/src/calibre/devices/kobo/driver.py @@ -3171,7 +3171,7 @@ class KOBOTOUCH(KOBO): else: new_series = None new_series_number = None - + series_changed = not (new_series == kobo_metadata.series) series_number_changed = not (new_series_number == book.kobo_series_number) if show_debug: @@ -3190,7 +3190,7 @@ class KOBOTOUCH(KOBO): try: kobo_series_id = book.kobo_series_id kobo_series_number_float = book.kobo_series_number_float - except: # This should mean the book was sent to the device during the current session. + except Exception: # This should mean the book was sent to the device during the current session. kobo_series_id = None kobo_series_number_float = None