This commit is contained in:
Kovid Goyal 2020-10-30 07:39:31 +05:30
parent f1bf1e4fae
commit fde766f2c9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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