]> OzVa Git service - conf-dialer/commitdiff
removed secrets
authorMax Value <greenwoodw50@gmail.com>
Thu, 25 Dec 2025 23:02:12 +0000 (23:02 +0000)
committerMax Value <greenwoodw50@gmail.com>
Thu, 25 Dec 2025 23:02:12 +0000 (23:02 +0000)
dialer.py
secrets.json [deleted file]

index ae0b153d86eb7805da4ae983bcf2747e65c90963..3fa38a453c6ffbf126cf12f1b2ecadda340c09d0 100755 (executable)
--- a/dialer.py
+++ b/dialer.py
@@ -28,7 +28,7 @@ with open(f"{app.root_path}/players.json", "r", encoding="utf-8") as f:
        players = json.loads(f.read())
 
 # get the secrets ready
-with open(f"{app.root_path}/secrets.json", "r", encoding="utf-8") as f:
+with open(f"{app.root_path}/../secrets.json", "r", encoding="utf-8") as f:
        users_raw = json.loads(f.read())
 users = {k: generate_password_hash(v) for (k, v) in users_raw.items()}
 
diff --git a/secrets.json b/secrets.json
deleted file mode 100644 (file)
index e47a7e0..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-{
-       "controller": "test",
-       "will": "test"
-}