From f248dd2ed7841f9db076b5ab170b2892c9b317e0 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 17 Feb 2015 03:38:23 +0100 Subject: [PATCH] Server/py: Add obey() dummy for C variant's obey_msg(). --- plomrogue-server.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plomrogue-server.py b/plomrogue-server.py index 33a5593..9bb1559 100755 --- 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: -- 2.30.2