break line after each command option
Co-authored-by: Salamandar <6552989+Salamandar@users.noreply.github.com>
This commit is contained in:
parent
5b6dc562c9
commit
f6cd32a2e8
1 changed files with 6 additions and 3 deletions
|
@ -19,10 +19,13 @@ def notify(message, channel):
|
|||
message = message.replace(char, "")
|
||||
|
||||
try:
|
||||
subprocess.call(
|
||||
[
|
||||
subprocess.call([
|
||||
"/var/www/webhooks/matrix-commander",
|
||||
"--markdown -m '{message}' -c /var/www/webhooks/credentials.json --store /var/www/webhooks/store --room 'yunohost-{channel}'",
|
||||
"--markdown",
|
||||
"-m", message,
|
||||
"-c", "/var/www/webhooks/credentials.json",
|
||||
"--store", "/var/www/webhooks/store",
|
||||
"--room", f"yunohost-{channel}",
|
||||
],
|
||||
stdout=subprocess.DEVNULL,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue