mirror of
https://github.com/tomasriveral/nixpkgs-notifier.git
synced 2026-08-11 18:28:38 +02:00
fix: config use global variables
This commit is contained in:
@@ -9,6 +9,8 @@ from time import sleep
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
global matrixPing, matrixUserToPing, matrixUserServer, matrixRoom
|
||||
|
||||
state_dir = Path(
|
||||
os.environ.get("XDG_STATE_HOME", Path.home() / ".local" / "state")
|
||||
) / "nixpkgs-notifier"
|
||||
|
||||
Reference in New Issue
Block a user