.strip("\n") from !rust API call return

This commit is contained in:
jesopo 2018-10-08 14:00:18 +01:00
parent 52405cbd9d
commit 6b42494b92

View file

@ -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")))