From: Christian Heller Date: Tue, 17 Feb 2015 02:38:23 +0000 (+0100) Subject: Server/py: Add obey() dummy for C variant's obey_msg(). X-Git-Tag: tce~524 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/pick_tasks?a=commitdiff_plain;h=f248dd2ed7841f9db076b5ab170b2892c9b317e0;p=plomrogue Server/py: Add obey() dummy for C variant's obey_msg(). --- 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: