mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
This commit is contained in:
parent
6010e9b2ca
commit
64fd079f88
@ -377,7 +377,8 @@ class PRS500Device(Device):
|
|||||||
raise ProtocolError("Sending via Bulk Transfer failed with response:\n"\
|
raise ProtocolError("Sending via Bulk Transfer failed with response:\n"\
|
||||||
+str(res))
|
+str(res))
|
||||||
if res.data_size != len(data):
|
if res.data_size != len(data):
|
||||||
raise ProtocolError("Unable to transfer all data to device. Response packet:\n"\
|
raise ProtocolError("Unable to transfer all data to device. "+\
|
||||||
|
"Response packet:\n"\
|
||||||
+str(res))
|
+str(res))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user