forked from sch/Slixfeed
Remove an instruction breakpoint.
This commit is contained in:
parent
59f74df2fb
commit
d3dbcb0cdb
1 changed files with 1 additions and 3 deletions
|
@ -547,12 +547,10 @@ class Url:
|
||||||
if (response and
|
if (response and
|
||||||
response['status_code'] == 200 and
|
response['status_code'] == 200 and
|
||||||
# response.reason == 'OK' and
|
# response.reason == 'OK' and
|
||||||
url_new.startswith(proxy_url)):
|
url_new.startswith(proxy_url)): break
|
||||||
break
|
|
||||||
else:
|
else:
|
||||||
proxies_obsolete_file = os.path.join(configuration_directory, 'proxies_obsolete.toml')
|
proxies_obsolete_file = os.path.join(configuration_directory, 'proxies_obsolete.toml')
|
||||||
proxies_file = os.path.join(configuration_directory, 'proxies.toml')
|
proxies_file = os.path.join(configuration_directory, 'proxies.toml')
|
||||||
breakpoint()
|
|
||||||
proxies_obsolete = Toml.open_file(proxies_obsolete_file)
|
proxies_obsolete = Toml.open_file(proxies_obsolete_file)
|
||||||
proxies_obsolete['proxies'][proxy_name][proxy_type].append(proxy_url)
|
proxies_obsolete['proxies'][proxy_name][proxy_type].append(proxy_url)
|
||||||
Toml.save_file(proxies_obsolete_file, proxies_obsolete)
|
Toml.save_file(proxies_obsolete_file, proxies_obsolete)
|
||||||
|
|
Loading…
Reference in a new issue