From e749200f6c040e917857b06640c985d95a4b673e Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 6 Feb 2019 01:06:36 +0100 Subject: [PATCH] [fix] shell=true is weird --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 9e6d219..082db56 100644 --- a/server.py +++ b/server.py @@ -26,7 +26,7 @@ other_chans = { def notify(message, chan="dev"): print(f"{chan} -> {message}") - subprocess.check_call(["python", "./to_room.py", gitbot_password, message, chan], shell=True) + subprocess.check_call(["python", "./to_room.py", gitbot_password, message, chan]) @app.route("/github", methods=['POST'])