forked from Decentrala/taskmanager
Vracen path za config na staro
This commit is contained in:
parent
2721d2a524
commit
2d4b88bc7a
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user