diff --git a/slixfeed/utilities.py b/slixfeed/utilities.py index 15a30b0..d6aa2d1 100644 --- a/slixfeed/utilities.py +++ b/slixfeed/utilities.py @@ -547,12 +547,10 @@ class Url: if (response and response['status_code'] == 200 and # response.reason == 'OK' and - url_new.startswith(proxy_url)): - break + url_new.startswith(proxy_url)): break else: proxies_obsolete_file = os.path.join(configuration_directory, 'proxies_obsolete.toml') proxies_file = os.path.join(configuration_directory, 'proxies.toml') - breakpoint() proxies_obsolete = Toml.open_file(proxies_obsolete_file) proxies_obsolete['proxies'][proxy_name][proxy_type].append(proxy_url) Toml.save_file(proxies_obsolete_file, proxies_obsolete)