mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-27 23:03:12 +02:00
pep8
This commit is contained in:
parent
f1bf1e4fae
commit
fde766f2c9
1 changed files with 2 additions and 2 deletions
|
|
@ -3171,7 +3171,7 @@ def set_core_metadata(self, connection, book, series_only=False):
|
|||
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 @@ def set_core_metadata(self, connection, book, series_only=False):
|
|||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue