From dc32d473e01eeb5ce2f8f3d2997ad78f835fe4d7 Mon Sep 17 00:00:00 2001 From: BlucyBlue Date: Sun, 20 Jan 2019 19:16:06 +0100 Subject: [PATCH] Exception will now be raised if etiher a single proxy or proxy_list options are used along with Tor. --- sherlock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sherlock.py b/sherlock.py index fbc2d1e6..3d72e5b4 100644 --- a/sherlock.py +++ b/sherlock.py @@ -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