From: Max Value Date: Thu, 25 Dec 2025 23:02:12 +0000 (+0000) Subject: removed secrets X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=7a3fb0ef1aa145f2ee50dda84d3af87d310c7743;p=conf-dialer removed secrets --- 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" -}