From 7a3fb0ef1aa145f2ee50dda84d3af87d310c7743 Mon Sep 17 00:00:00 2001 From: Max Value Date: Thu, 25 Dec 2025 23:02:12 +0000 Subject: [PATCH] removed secrets --- dialer.py | 2 +- secrets.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 secrets.json diff --git a/dialer.py b/dialer.py index ae0b153..3fa38a4 100755 --- 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 index e47a7e0..0000000 --- a/secrets.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "controller": "test", - "will": "test" -} -- 2.39.2