mirror of
https://github.com/YunoHost/webhooks.git
synced 2024-09-03 19:56:54 +02:00
[fix] shell=true is weird
This commit is contained in:
parent
52ed476b55
commit
e749200f6c
1 changed files with 1 additions and 1 deletions
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue