Fixed it not reading the config file
This commit is contained in:
parent
21df5e55df
commit
f417908bc4
|
@ -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")
|
||||||
|
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue