Skip to content

Commit

Permalink
break line after each command option
Browse files Browse the repository at this point in the history
Co-authored-by: Salamandar <[email protected]>
  • Loading branch information
OniriCorpe and Salamandar committed Mar 18, 2024
1 parent e34e7b5 commit bddd834
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tools/appslib/logging_sender.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit bddd834

Please sign in to comment.