Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-06 23:08:54 -08:00
parent 6b55d21f91
commit e69e5c6ab2

View file

@ -279,7 +279,7 @@ def system(cmd, chan, rstrip=False):
outpp = ""
for line in iter(p.stdout.readline, b''):
if text != "" and text != " ":
if not rstrip
if not rstrip:
multiline(line.rstrip(), chan)
else:
outpp += line.rstrip() + " "