This commit is contained in:
John Schember 2009-01-14 07:36:07 -05:00
parent e4d496d2c0
commit b656e8968c

View File

@ -77,7 +77,7 @@ class USBMS(Device):
return zip(paths, cycle([on_card])) return zip(paths, cycle([on_card]))
@classmethod @classmethod
def add_books_to_metadata(cls, locations, metadata, booklists): def add_books_to_metadata(cls, locations, metadata, booklists):
for location in locations: for location in locations:
path = location[0] path = location[0]
on_card = 1 if location[1] else 0 on_card = 1 if location[1] else 0