Fix regression that broke Kobo driver. Add support or 1.41 softrooted nook

This commit is contained in:
Kovid Goyal 2010-07-27 11:23:36 -06:00
parent 8dbaaaa37b
commit e8b2270000
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ class Book(MetaInformation):
def thumbnail(self):
return None
def smart_update(self, other):
def smart_update(self, other, replace_metadata=False):
'''
Merge the information in C{other} into self. In case of conflicts, the information
in C{other} takes precedence, unless the information in C{other} is NULL.

View File

@ -26,7 +26,7 @@ class NOOK(USBMS):
# Ordered list of supported formats
FORMATS = ['epub', 'pdb', 'pdf']
VENDOR_ID = [0x2080]
VENDOR_ID = [0x2080, 0x18d1] # 0x18d1 is for softrooted nook
PRODUCT_ID = [0x001]
BCD = [0x322]