home · contact · privacy
Server/py: Add obey() dummy for C variant's obey_msg().
authorChristian Heller <c.heller@plomlompom.de>
Tue, 17 Feb 2015 02:38:23 +0000 (03:38 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Tue, 17 Feb 2015 02:38:23 +0000 (03:38 +0100)
plomrogue-server.py

index 33a5593e0632f997d6b70397f0b51eccbe11f937..9bb1559ab0c4462f3125e557691f8153a6f91299 100755 (executable)
@@ -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: