diff --git a/sweebot.py b/sweebot.py index 7f5fff0..f721009 100644 --- a/sweebot.py +++ b/sweebot.py @@ -282,7 +282,7 @@ def system(cmd, chan, rstrip=False): if not rstrip: multiline(line.rstrip(), chan) else: - outpp += line.rstrip() + " " + outpp += line.decode().rstrip() + " " if rstrip: multiline(outpp[:-1]) p.stdout.close()