Pushed change.

This commit is contained in:
NotoriousRebel 2020-02-11 14:31:42 -05:00
parent e3830546fc
commit 11e4981285

View file

@ -95,7 +95,7 @@ def proxy_list() -> List:
with open('/etc/theHarvester/proxies.yaml', 'r') as api_keys:
keys = yaml.safe_load(api_keys)
except FileNotFoundError:
with open('/mnt/d/repos/theHarvester/proxies.yaml', 'r') as api_keys:
with open('proxies.yaml', 'r') as api_keys:
keys = yaml.safe_load(api_keys)
http_list = [f'http://{proxy}' for proxy in keys['http']] if keys['http'] is not None else []
return http_list