diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-15 21:34:42 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-15 21:34:42 +0100 |
commit | 24f641766036661dff706fed56b6aff8f473cc8b (patch) | |
tree | bfa296927e637c54e293812fb085039375fd5bc0 /rcon.py | |
parent | ec0ad2b68de7720549bb1c7380ccb54f335ac212 (diff) |
Fix broken echo
Diffstat (limited to 'rcon.py')
-rw-r--r-- | rcon.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -161,7 +161,8 @@ class Console: self.viewer.proc_open(argv) def execute(self, command): - self.viewer.write(PIPE_PATH % self.server) + self.viewer.write("%s $ %s" % (self.server, command), + color_override="system") with open(PIPE_PATH % self.server, "w") as fp: fp.write(command + "\n") |