home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5797646
)
Server/py: Ignore empty lines in obey().
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 28 Feb 2015 14:16:57 +0000
(15:16 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 28 Feb 2015 14:16:57 +0000
(15:16 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 0c82f05996e8bd6f6e0307305ea1b96323a59621..1792a4a6a12ede5a90e528e5f1d43c568d56d55f 100755
(executable)
--- 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()
- el
se
:
+ el
if 0 != len(tokens)
:
print("Invalid command/argument, or bad number of tokens.")