Specify the path to matrix-commander
This commit is contained in:
parent
9f6b6518ce
commit
7719f0be31
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ import sarge
|
|||
|
||||
API_URL = "https://invent.kde.org/api/v4/projects/"
|
||||
OBS_URL = "https://api.opensuse.org/trigger/runservice"
|
||||
MATRIX_COMMANDER = "/home/mocker/local-venv/bin/matrix-commander.py"
|
||||
|
||||
MESSAGE_TEMPLATE = f"""
|
||||
### OBS package update complete
|
||||
|
@ -185,7 +186,7 @@ def notify_matrix(stats: Dict[str, Dict[str, int]]) -> None:
|
|||
|
||||
message = "\n".join(structure)
|
||||
|
||||
cmd = ["matrix_commander.py", "--markdown", "-m", message]
|
||||
cmd = [MATRIX_COMMANDER, "--markdown", "-m", message]
|
||||
logging.debug("Sending Matrix notification")
|
||||
sarge.run(cmd)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue