From: Christian Heller Date: Sat, 28 Feb 2015 14:16:57 +0000 (+0100) Subject: Server/py: Ignore empty lines in obey(). X-Git-Tag: tce~453 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/static/%7B%7Byoutube_prefix%7D%7D%7B%7Bvideo_data.id_%7D%7D?a=commitdiff_plain;h=c1a78df8af09893e0d28ca90e1b84d8adf174d38;p=plomrogue Server/py: Ignore empty lines in obey(). --- diff --git a/plomrogue-server.py b/plomrogue-server.py index 0c82f05..1792a4a 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -86,7 +86,7 @@ def obey(command, prefix, replay=False, do_record=False): if do_record: record(command) save_world() - else: + elif 0 != len(tokens): print("Invalid command/argument, or bad number of tokens.")