Update eternity_convert.py

This commit is contained in:
Mirei 2022-10-01 17:33:31 +03:30 committed by GitHub
parent 634618103a
commit 983fa2145c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,9 @@ def eternity_convert(file, config, output, provider_file_enabled=True):
for key in provider_dic.keys():
if not provider_dic[key]['proxies'] is None:
for proxy in provider_dic[key]['proxies']:
speed = substrings(log_lines[indexx], "avg_speed:", "|")
name_dict[key].append(proxy['name'] + " | " + speed)
# speed = substrings(log_lines[indexx], "avg_speed:", "|")
# name_dict[key].append(proxy['name'] + " | " + speed)
name_dict[key].append(proxy['name'])
indexx += 1
if provider_dic[key]['proxies'] is None: