diff --git a/dirhunt/exceptions.py b/dirhunt/exceptions.py index 7f46a2e..82242c7 100644 --- a/dirhunt/exceptions.py +++ b/dirhunt/exceptions.py @@ -2,7 +2,9 @@ import functools import sys import traceback +import ssl +ssl.match_hostname = lambda cert, hostname: True class DirHuntError(Exception): body = '' @@ -44,4 +46,4 @@ def wrapped(*args, **kwargs): except Exception as e: traceback.print_exc() raise e - return wrapped \ No newline at end of file + return wrapped