From d434c4f5b917166316073154077621fd67f4718b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20=C5=A0milauer?= Date: Tue, 25 Jun 2024 13:19:06 +0200 Subject: [PATCH] fix path --- webapi/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapi/index.py b/webapi/index.py index 4ee0d6b..fb0125c 100644 --- a/webapi/index.py +++ b/webapi/index.py @@ -59,7 +59,7 @@ def update_user_name(user_id: str, val): db.Users.update_one({'id': user_id}, { "$set": { 'name': val } }) login_config = {} -googleConfigPath = os.path.expanduser("~/persistent/google_auth_config.json") +googleConfigPath = os.path.expanduser("/var/lib/mupif/persistent/google_auth_config.json") if os.path.exists(googleConfigPath): with open(googleConfigPath) as config_json: login_config = json.load(config_json)