mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-05 22:47:04 +00:00
BufferReader won't return bytes
This commit is contained in:
parent
6db80ec51a
commit
223c2d1709
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ class Chain:
|
|||
data = self.reader.read()
|
||||
except ValueError:
|
||||
pass
|
||||
if data is None or (isinstance(data, bytes) and len(data) == 0):
|
||||
if data is None:
|
||||
run = False
|
||||
else:
|
||||
write(data)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue