Fixed it not reading the config file

This commit is contained in:
Tracker-Friendly 2023-11-19 13:51:30 +00:00
parent 21df5e55df
commit f417908bc4
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ from waitress import serve
# Load from config.ini # Load from config.ini
config = configparser.ConfigParser() config = configparser.ConfigParser()
config.read("config.ini") config.read("../config.ini")
database = config.get("Login", "database") database = config.get("Login", "database")
runport = config.get("Login", "port") runport = config.get("Login", "port")

View File

@ -13,7 +13,7 @@ import configparser
# Load from config.ini # Load from config.ini
config = configparser.ConfigParser() config = configparser.ConfigParser()
config.read("config.ini") config.read("../config.ini")
secretkey = config.get("Signup", "secretkey") secretkey = config.get("Signup", "secretkey")
captchachars = config.get("Signup", "captchachars") captchachars = config.get("Signup", "captchachars")
runport = config.get("Signup", "port") runport = config.get("Signup", "port")