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:
cee9a06
)
Server/py: Add obey() dummy for C variant's obey_msg().
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 17 Feb 2015 02:38:23 +0000
(
03:38
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 17 Feb 2015 02:38:23 +0000
(
03:38
+0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 33a5593e0632f997d6b70397f0b51eccbe11f937..9bb1559ab0c4462f3125e557691f8153a6f91299 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-55,6
+55,11
@@
def detect_atomic_leftover(path):
raise HandledException(msg)
+def obey(msg):
+ """"""
+ print("Input: " + msg)
+
+
io_db = {}
try:
parser = argparse.ArgumentParser()
@@
-75,7
+80,7
@@
try:
print(open(path_savefile, "r").read())
else:
msg = "MAKE_WORLD " + str(int(time.time()))
-
print
(msg)
+
obey
(msg)
except SystemExit:
pass
except HandledException as exception: