From: Christian Heller Date: Sun, 22 Feb 2015 05:01:02 +0000 (+0100) Subject: Server/py: Add note about improper replacement of record(). X-Git-Tag: tce~508 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/te"st.html?a=commitdiff_plain;h=8731bb2acd39cd33af45278c75d8b8ff9ca58306;p=plomrogue Server/py: Add note about improper replacement of record(). --- diff --git a/plomrogue-server.py b/plomrogue-server.py index 3bcb166..ceeb237 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -77,6 +77,7 @@ def obey(cmd, io_db, prefix): def record(cmd, path_recordfile): """Append cmd string plus newline to file at path_recordfile.""" + # Doesn't yet replace old record() fully. file = open(path_recordfile, "a") file.write(cmd + "\n") file.close()