mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Sony T1: Fix typo in if statement when uploading a cover
This commit is contained in:
parent
53bec8004f
commit
79f9adee92
@ -443,7 +443,7 @@ class PRST1(USBMS):
|
||||
|
||||
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…
x
Reference in New Issue
Block a user