Fix error/reconnect during retrieval of command list. MpdDispatcher returns [] instead of None after the filter refactoring
This commit is contained in:
parent
4090c14ae1
commit
a6c8571005
@ -49,7 +49,7 @@ class MpdSession(asynchat.async_chat):
|
||||
Format a response from the MPD command handlers and send it to the
|
||||
client.
|
||||
"""
|
||||
if response is not None:
|
||||
if response:
|
||||
response = LINE_TERMINATOR.join(response)
|
||||
logger.debug(u'Response to [%s]:%s: %s', self.client_address,
|
||||
self.client_port, indent(response))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user