remove unnecessary prints and unbuffer example unit

This commit is contained in:
Ben Harris 2021-02-19 10:44:14 -05:00
parent 8b5bd04573
commit f9c16f0e42
2 changed files with 1 additions and 3 deletions

View File

@ -129,7 +129,6 @@ def think(line):
elif words[0] == "!botlist" or words[0] == "!!help":
return HELPTEXT
elif words[0][0:2] == "!!":
print(words)
res = generate(words[0][2:])
if res:
if len(words) >= 3:
@ -152,7 +151,6 @@ class Server(BaseServer):
await self.send(build("MODE", [self.nickname, "+B"]))
if line.command == "INVITE":
print(f"received invite to {line.params[1]}")
await self.send(build("JOIN", [line.params[1]]))
if (

View File

@ -5,7 +5,7 @@ After=tracer.service
[Service]
Type=simple
WorkingDirectory=/home/ben/workspace/tracer
ExecStart=/usr/bin/python3 tracer.py
ExecStart=/usr/bin/python3 -u tracer.py
Restart=always
RestartSec=5
StartLimitInterval=60s