From c1a78df8af09893e0d28ca90e1b84d8adf174d38 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 28 Feb 2015 15:16:57 +0100 Subject: [PATCH] Server/py: Ignore empty lines in obey(). --- plomrogue-server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.") -- 2.30.2