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:
Kovid Goyal 2019-04-19 12:25:13 +05:30
parent 9233abc5c7
commit 41b3705925
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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: