[fix] shell=true is weird

This commit is contained in:
Laurent Peuch 2019-02-06 01:06:36 +01:00
parent 52ed476b55
commit e749200f6c

View file

@ -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'])