remove unnecessary prints and unbuffer example unit
This commit is contained in:
parent
8b5bd04573
commit
f9c16f0e42
|
@ -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 (
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue