fix: config use global variables

This commit is contained in:
2026-06-12 16:10:50 +02:00
parent 9af4538e1e
commit c0a53da09a
+2
View File
@@ -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"