mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
Fix #872385 (Sony T1: Typo in upload_cover)
This commit is contained in:
parent
9ccae653fe
commit
a5be334092
@ -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