Update sweebot.py

This commit is contained in:
Nova Cat 2024-12-06 23:10:16 -08:00
parent e69e5c6ab2
commit fc19c7c0d3

View file

@ -282,7 +282,7 @@ def system(cmd, chan, rstrip=False):
if not rstrip: if not rstrip:
multiline(line.rstrip(), chan) multiline(line.rstrip(), chan)
else: else:
outpp += line.rstrip() + " " outpp += line.decode().rstrip() + " "
if rstrip: if rstrip:
multiline(outpp[:-1]) multiline(outpp[:-1])
p.stdout.close() p.stdout.close()