diff --git a/pagermaid/config.py b/pagermaid/config.py index 8e7b214..b874849 100644 --- a/pagermaid/config.py +++ b/pagermaid/config.py @@ -55,8 +55,9 @@ class Config: PROXY = None if PROXY_ADDRESS and PROXY_PORT: PROXY = dict( + scheme="socks5", hostname=PROXY_ADDRESS, - port=PROXY_PORT, + port=int(PROXY_PORT) ) GIT_SOURCE = os.environ.get("PGM_GIT_SOURCE", config["git_source"]) GIT_SOURCE = GIT_SOURCE.replace("TeamPGM/PagerMaid_Plugins/", "TeamPGM/PagerMaid_Plugins_Pyro/")