Ensure that empty command does not get added to command list

This commit is contained in:
Thomas Adamcik 2011-07-23 03:28:29 +02:00
parent 171137504f
commit e4ce31a438

View File

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