1
0
Fork 0
forked from swee/MeowNex

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 = "" outpp = ""
for line in iter(p.stdout.readline, b''): for line in iter(p.stdout.readline, b''):
if text != "" and text != " ": if text != "" and text != " ":
if not rstrip if not rstrip:
multiline(line.rstrip(), chan) multiline(line.rstrip(), chan)
else: else:
outpp += line.rstrip() + " " outpp += line.rstrip() + " "