Merge pull request #8 from augustin64/patch-3

Update V4.py
This commit is contained in:
piair338 2022-05-25 07:16:05 +02:00 committed by GitHub
commit 5f554cc9b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
V4.py
View File

@ -80,7 +80,7 @@ embeds = config["SETTINGS"]["embeds"] == "True" #print new point value in an emb
Headless = config["SETTINGS"]["headless"] == "True"
#proxy settings
proxy_enabled = config["PROXY"]["enabled"] == "True"
proxy_adress = config["PROXY"]["url"]
proxy_address = config["PROXY"]["url"]
proxy_port = config["PROXY"]["port"]
#MySQL settings
sql_enabled = config["SQL"]["enabled"] == "True"
@ -157,7 +157,7 @@ def add_to_database(compte, points):
def FirefoxDriver(mobile=False, Headless=Headless):
if proxy_enabled :
setup_proxy(proxy_adress,proxy_port)
setup_proxy(proxy_address,proxy_port)
PC_USER_AGENT = (
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) "