home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
168d666
)
Server/py: Add note about improper replacement of record().
author
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Feb 2015 05:01:02 +0000
(06:01 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sun, 22 Feb 2015 05:01:02 +0000
(06:01 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index 3bcb166ebe3c98bac6900707aee3e47832042d87..ceeb237d944ca378364819f1f6a5afec580d27e2 100755
(executable)
--- 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()