Fix #872385 (Sony T1: Typo in upload_cover)

This commit is contained in:
Kovid Goyal 2011-10-12 04:45:20 +05:30
parent 9ccae653fe
commit a5be334092

View File

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