mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in smart device driver
Accidentally changed bytes(0) to b'\0' instead of b'0' Fixes #1825472 [cannot connect (Calibre Companion) as wireless device](https://bugs.launchpad.net/calibre/+bug/1825472)
This commit is contained in:
parent
9233abc5c7
commit
41b3705925
@ -569,7 +569,7 @@ class SMART_DEVICE_APP(DeviceConfig, DevicePlugin):
|
||||
raise
|
||||
|
||||
def _read_string_from_net(self):
|
||||
data = b'\0'
|
||||
data = b'0'
|
||||
while True:
|
||||
dex = data.find(b'[')
|
||||
if dex >= 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user