Exception will now be raised if etiher a single proxy or proxy_list options are used along with Tor.

pull/157/head
BlucyBlue 6 years ago committed by Yahya SayadArbabi
parent c5e06b068e
commit dc32d473e0

@ -402,7 +402,7 @@ def main():
# Argument check
# TODO regex check on args.proxy
if args.tor and args.proxy != None:
if args.tor and (args.proxy != None or args.proxy_list != None):
raise Exception("TOR and Proxy cannot be set in the meantime.")
# Make prompts

Loading…
Cancel
Save