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

This commit is contained in:
BlucyBlue
2019-01-20 19:16:06 +01:00
committed by Yahya SayadArbabi
parent c5e06b068e
commit dc32d473e0
+1 -1
View File
@@ -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