Make proxy link order consistent, sort by username

This commit is contained in:
Foster "Forst" Snowhill
2018-05-29 16:33:50 +03:00
parent e81c3535c3
commit 0fe7ba406e

View File

@@ -234,7 +234,7 @@ def print_tg_info():
except:
my_ip = 'YOUR_IP'
for user, secret in USERS.items():
for user, secret in sorted(USERS.items(), key=lambda x: x[0]):
params = {
"server": my_ip, "port": PORT, "secret": secret
}