mirror of
https://gitea.augustin64.fr/piair/MsRewards-Reborn.git
synced 2025-08-09 15:06:36 +02:00
déja ca a fix le problème de lancement je pense
This commit is contained in:
@ -63,8 +63,7 @@ with open("/app/MsRewards-Reborn/user_data/proxy.json", "r") as inFile:
|
||||
proxy = json.load(inFile)
|
||||
with open("/app/MsRewards-Reborn/user_data/configs.json", "r") as inFile:
|
||||
config = json.load(inFile)
|
||||
with open("/app/MsRewards-Reborn/user_data/database.json", "r") as inFile:
|
||||
database = json.load(inFile)
|
||||
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
@ -114,19 +113,6 @@ if g.proxy_enabled :
|
||||
g.proxy_address = proxy[config[args.config]["proxy"]]["address"]
|
||||
g.proxy_port = proxy[config[args.config]["proxy"]]["port"]
|
||||
|
||||
# MySQL settings
|
||||
|
||||
g.sql_enabled = database["checked"] == "checked"
|
||||
g.sql_usr = database["usr"]
|
||||
g.sql_pwd = database["pwd"]
|
||||
g.sql_host = database["host"]
|
||||
g.sql_database = database["table"]
|
||||
|
||||
|
||||
try :
|
||||
g.database_error_override = config["OTHER"]["database_override"] == "True"
|
||||
except :
|
||||
pass
|
||||
|
||||
g.fast = False
|
||||
|
||||
|
Reference in New Issue
Block a user