Remove an instruction breakpoint.

This commit is contained in:
Schimon Jehudah, Adv. 2024-11-28 09:16:51 +02:00
parent 59f74df2fb
commit d3dbcb0cdb

View file

@ -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)