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":
|
elif words[0] == "!botlist" or words[0] == "!!help":
|
||||||
return HELPTEXT
|
return HELPTEXT
|
||||||
elif words[0][0:2] == "!!":
|
elif words[0][0:2] == "!!":
|
||||||
print(words)
|
|
||||||
res = generate(words[0][2:])
|
res = generate(words[0][2:])
|
||||||
if res:
|
if res:
|
||||||
if len(words) >= 3:
|
if len(words) >= 3:
|
||||||
|
@ -152,7 +151,6 @@ class Server(BaseServer):
|
||||||
await self.send(build("MODE", [self.nickname, "+B"]))
|
await self.send(build("MODE", [self.nickname, "+B"]))
|
||||||
|
|
||||||
if line.command == "INVITE":
|
if line.command == "INVITE":
|
||||||
print(f"received invite to {line.params[1]}")
|
|
||||||
await self.send(build("JOIN", [line.params[1]]))
|
await self.send(build("JOIN", [line.params[1]]))
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
|
|
@ -5,7 +5,7 @@ After=tracer.service
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
WorkingDirectory=/home/ben/workspace/tracer
|
WorkingDirectory=/home/ben/workspace/tracer
|
||||||
ExecStart=/usr/bin/python3 tracer.py
|
ExecStart=/usr/bin/python3 -u tracer.py
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
StartLimitInterval=60s
|
StartLimitInterval=60s
|
||||||
|
|
Loading…
Reference in New Issue