Update sweebot.py
This commit is contained in:
parent
e69e5c6ab2
commit
fc19c7c0d3
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue