Skip to content

Commit bddd834

Browse files
break line after each command option
Co-authored-by: Salamandar <[email protected]>
1 parent e34e7b5 commit bddd834

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

tools/appslib/logging_sender.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ def notify(message, channel):
1919
message = message.replace(char, "")
2020

2121
try:
22-
subprocess.call(
23-
[
22+
subprocess.call([
2423
"/var/www/webhooks/matrix-commander",
25-
"--markdown -m '{message}' -c /var/www/webhooks/credentials.json --store /var/www/webhooks/store --room 'yunohost-{channel}'",
24+
"--markdown",
25+
"-m", message,
26+
"-c", "/var/www/webhooks/credentials.json",
27+
"--store", "/var/www/webhooks/store",
28+
"--room", f"yunohost-{channel}",
2629
],
2730
stdout=subprocess.DEVNULL,
2831
)

0 commit comments

Comments
 (0)