mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 21:04:44 +01:00
Sony T1: Fix typo in if statement when uploading a cover
This commit is contained in:
parent
53bec8004f
commit
79f9adee92
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ def upload_cover(self, path, filename, metadata, filepath):
|
|||
|
||||
def upload_book_cover(self, connection, book, source_id):
|
||||
debug_print('PRST1: Uploading/Refreshing Cover for ' + book.title)
|
||||
if not book.thumbnail and book.thumbnail[-1]:
|
||||
if not book.thumbnail or not book.thumbnail[-1]:
|
||||
return
|
||||
cursor = connection.cursor()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue