Sony T1: Fix typo in if statement when uploading a cover

This commit is contained in:
Kolenka 2011-10-11 10:18:09 -07:00
parent 53bec8004f
commit 79f9adee92

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