From e43ae9991102c8471c7f2436df63f7d64906940c Mon Sep 17 00:00:00 2001 From: Allineer Date: Tue, 13 Aug 2019 08:20:19 +0300 Subject: [PATCH] Fix default port in the main script. Different port in main and config files. It's changed to 3256. --- mtprotoproxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mtprotoproxy.py b/mtprotoproxy.py index cca78d6..4c23217 100755 --- a/mtprotoproxy.py +++ b/mtprotoproxy.py @@ -100,7 +100,7 @@ def init_config(): conf_dict = {k: v for k, v in conf_dict.items() if k.isupper()} - conf_dict.setdefault("PORT", 3255) + conf_dict.setdefault("PORT", 3256) conf_dict.setdefault("USERS", {"tg": "00000000000000000000000000000000"}) conf_dict["AD_TAG"] = bytes.fromhex(conf_dict.get("AD_TAG", ""))