home · contact · privacy
Server/py: Add note about improper replacement of record().
authorChristian Heller <c.heller@plomlompom.de>
Sun, 22 Feb 2015 05:01:02 +0000 (06:01 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 22 Feb 2015 05:01:02 +0000 (06:01 +0100)
plomrogue-server.py

index 3bcb166ebe3c98bac6900707aee3e47832042d87..ceeb237d944ca378364819f1f6a5afec580d27e2 100755 (executable)
@@ -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()