From 2d4b88bc7a926e0d15ebdc547b047f38c0f6fffe Mon Sep 17 00:00:00 2001 From: svitvojimilioni Date: Fri, 19 Jan 2024 11:15:58 -0500 Subject: [PATCH] Vracen path za config na staro --- taskmanager/routes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taskmanager/routes.py b/taskmanager/routes.py index 1893003..6757940 100644 --- a/taskmanager/routes.py +++ b/taskmanager/routes.py @@ -4,11 +4,11 @@ from taskmanager.functions import * from taskmanager.models import * import configparser -CONFIG_PATH = "/home/bob/kod-foss/taskmanager/taskmanager/config.ini" +CONFIG_PATH = "/var/taskmanager/taskmanager/config.ini" config = configparser.ConfigParser() config.read(CONFIG_PATH) -ADMINPASS = config.get('c', 'ADMINPASS') +ADMINPASS = config.get('credentials', 'ADMINPASS') @app.route('/', methods=['GET']) def index():