This commit is contained in:
Jerry Yan 2019-10-19 08:28:38 +08:00
parent 204d8342bb
commit 64fbe010ef

View File

@ -62,7 +62,7 @@ network = [{
def reloadConfig():
global config
if(os.path.exists(config.json)):
if(os.path.exists('config.json')):
_config_fp = open("config.json", "r", encoding="utf8")
_config = json.load(_config_fp)
config.update(_config)