Skip to content

Commit

Permalink
Update sherlock.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Dec 31, 2018
1 parent 96c3ce7 commit c0ac0d9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ def write_to_file(url, fname):


def print_error(err, errstr, var, debug=False):
err_or_var = err if debug else var
print(f"\033[37;1m[\033[91;1m-\033[37;1m]\033[91;1m {errstr}\033[93;1m {err_or_var}")
print(f"\033[37;1m[\033[91;1m-\033[37;1m]\033[91;1m {errstr}\033[93;1m {err if debug else var}")


def get_response(request_future, error_type, social_network, verbose=False):
Expand Down

0 comments on commit c0ac0d9

Please sign in to comment.