mirror of
https://github.com/beetbox/beets.git
synced 2026-02-19 13:56:22 +01:00
Fixed an issue with a readline from socket in bpd
This commit is contained in:
parent
030c656a75
commit
df25de89f7
1 changed files with 2 additions and 1 deletions
|
|
@ -583,9 +583,10 @@ class Connection(object):
|
|||
|
||||
clist = None # Initially, no command list is being constructed.
|
||||
while True:
|
||||
line = (yield self.sock.readline()).strip()
|
||||
line = yield self.sock.readline()
|
||||
if not line:
|
||||
break
|
||||
line = line.strip()
|
||||
log.debug(line)
|
||||
|
||||
if clist is not None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue