mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-30 23:00:21 -04:00
oops
This commit is contained in:
parent
f88ce29971
commit
64771613b6
@ -249,6 +249,7 @@ class PRS500Device(Device):
|
||||
red, wed = ed2, ed1
|
||||
self.bulk_read_max_packet_size = red.MaxPacketSize
|
||||
self.bulk_write_max_packet_size = wed.MaxPacketSize
|
||||
self.handle.claim_interface(self.INTERFACE_ID)
|
||||
except USBError, err:
|
||||
raise DeviceBusy(str(err))
|
||||
# Large timeout as device may still be initializing
|
||||
@ -829,4 +830,4 @@ class PRS500Device(Device):
|
||||
f.seek(0)
|
||||
self.put_file(f, path, replace_file=True, end_session=False)
|
||||
f.close()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user