Update eternity_convert.py

This commit is contained in:
Mirei 2022-10-01 21:11:59 +03:30 committed by GitHub
parent 4e9c023544
commit 80a82c6383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,10 +141,11 @@ def eternity_convert(file, config, output, provider_file_enabled=True):
try:
speed = substrings(log_lines[indexx], "avg_speed:", "|")
name_dict[key].append(proxy['name'] + " | " + speed)
indexx += 1
except:
name_dict[key].append(proxy['name'])
print(log_lines[indexx])
indexx += 1
if provider_dic[key]['proxies'] is None:
name_dict[key].append('DIRECT')