mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 09:04:27 +01:00
This commit is contained in:
parent
6010e9b2ca
commit
64fd079f88
1 changed files with 2 additions and 1 deletions
|
|
@ -377,7 +377,8 @@ def bulk_write_packet(packet):
|
|||
raise ProtocolError("Sending via Bulk Transfer failed with response:\n"\
|
||||
+str(res))
|
||||
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))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue