Ensure that empty command does not get added to command list
This commit is contained in:
parent
171137504f
commit
e4ce31a438
@ -1,6 +1,6 @@
|
||||
from mopidy.frontends.mpd.protocol import handle_request
|
||||
|
||||
@handle_request(r'^\s*$')
|
||||
@handle_request(r'^[ ]*$')
|
||||
def empty(context):
|
||||
"""The original MPD server returns ``OK`` on an empty request."""
|
||||
pass
|
||||
|
||||
Loading…
Reference in New Issue
Block a user