From c07728c41fbe1c42f55361dbf539dd2fd381c0de Mon Sep 17 00:00:00 2001 From: Benjamyn Love Date: Mon, 27 Aug 2018 23:57:28 +1000 Subject: [PATCH] Fixed issue with loading relative paths Updated codebase to use python3 Seems to work --- whois/__init__.py | 4 ++-- whois/whois.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/whois/__init__.py b/whois/__init__.py index 0717af5..e84b071 100644 --- a/whois/__init__.py +++ b/whois/__init__.py @@ -7,5 +7,5 @@ # \/_/ \/_/ \/_/ \/_/ \/_/ from whois import Whois as whois -from parser import * -from flags import * +import flags +import parser diff --git a/whois/whois.py b/whois/whois.py index ac26be5..234b893 100644 --- a/whois/whois.py +++ b/whois/whois.py @@ -17,7 +17,7 @@ import error import flags class Whois(object): - def __init__(self, domain, debug=True): + def __init__(self, domain, debug=False): if debug: logging.basicConfig(level=logging.DEBUG) logging.debug("__init__: DEBUG is set to True")