Don't show invalid/error social site if --print-found flag is enabled.

This commit is contained in:
sp1rs 2019-07-12 00:47:25 +05:30
parent b94c2b19dc
commit ed08f979f0

View file

@ -345,7 +345,8 @@ def sherlock(username, site_data, verbose=False, tor=False, unique_tor=False, pr
exists = "no"
elif error_type == "":
print_invalid(social_network, "Error!")
if not print_found_only:
print_invalid(social_network, "Error!")
exists = "error"
# Save exists flag