Fix regression caused by use of _new_book in USBMS

This commit is contained in:
Kovid Goyal 2010-06-27 18:20:31 -06:00
parent f66a9077c6
commit bb000ba2c3
2 changed files with 5 additions and 4 deletions

View File

@ -298,8 +298,9 @@ class USBMS(CLI, Device):
# Clear the _new_book indication, as we are supposed to be done with # Clear the _new_book indication, as we are supposed to be done with
# adding books at this point # adding books at this point
for blist in booklists: for blist in booklists:
for book in blist: if blist is not None:
book._new_book = False for book in blist:
book._new_book = False
self.report_progress(1.0, _('Sending metadata to device...')) self.report_progress(1.0, _('Sending metadata to device...'))
debug_print('USBMS: finished sync_booklists') debug_print('USBMS: finished sync_booklists')

View File

@ -148,8 +148,8 @@ class FormatList(QListWidget):
class ImageView(QLabel): class ImageView(QLabel):
MAX_WIDTH = 400 MAX_WIDTH = 600
MAX_HEIGHT = 300 MAX_HEIGHT = 800
DROPABBLE_EXTENSIONS = IMAGE_EXTENSIONS DROPABBLE_EXTENSIONS = IMAGE_EXTENSIONS
@classmethod @classmethod