🖍 fix. wrong comparison

This commit is contained in:
Mirei 2023-07-18 00:07:22 +03:30 committed by GitHub
parent 0eb5b768b2
commit 9cd64702ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ class subs_function:
if country_code in exclude_list_of_countries or name_emoji == emoji['NOWHERE']:
excluded_proxies.append(c_proxy)
return list(filter(lambda c: c["c_clash"] not in excluded_proxies, corresponding_proxies))
return list(filter(lambda c: c not in excluded_proxies, corresponding_proxies))
def fix_proxies_duplication(corresponding_proxies: []):
print("\nBefore was " + str(corresponding_proxies.__len__()) + "\n")