.strip("\n") from !rust API call return
This commit is contained in:
parent
52405cbd9d
commit
6b42494b92
1 changed files with 1 additions and 1 deletions
|
@ -36,4 +36,4 @@ class Module(ModuleManager.BaseModule):
|
||||||
|
|
||||||
err_or_out = "stdout" if page["success"] else "stderr"
|
err_or_out = "stdout" if page["success"] else "stderr"
|
||||||
event[err_or_out].write("%s: %s" % (event["user"].nickname,
|
event[err_or_out].write("%s: %s" % (event["user"].nickname,
|
||||||
page[err_or_out]))
|
page[err_or_out].strip("\n")))
|
||||||
|
|
Loading…
Reference in a new issue