mirror of
https://github.com/tiennm99/mtprotoproxy.git
synced 2026-10-13 12:15:02 +00:00
Merge branch 'master' of github.com:alexbers/mtprotoproxy
This commit is contained in:
commit
0c4944c0d1
1 file changed
+1
-1
+1
-1
@@ -234,7 +234,7 @@ def print_tg_info():
|
||||
with urllib.request.urlopen('https://ifconfig.co/ip') as f:
|
||||
if f.status != 200:
|
||||
raise Exception("Invalid status code")
|
||||
my_ip = f.read().strip()
|
||||
my_ip = f.read().decode().strip()
|
||||
except Exception:
|
||||
my_ip = 'YOUR_IP'
|
||||
|
||||
|
||||
Reference in new issue
Block a user