Fixed issue with loading relative paths

Updated codebase to use python3
Seems to work
This commit is contained in:
Benjamyn Love 2018-08-27 23:57:28 +10:00
parent d9f11956c2
commit c07728c41f
2 changed files with 3 additions and 3 deletions

View File

@ -7,5 +7,5 @@
# \/_/ \/_/ \/_/ \/_/ \/_/ # \/_/ \/_/ \/_/ \/_/ \/_/
from whois import Whois as whois from whois import Whois as whois
from parser import * import flags
from flags import * import parser

View File

@ -17,7 +17,7 @@ import error
import flags import flags
class Whois(object): class Whois(object):
def __init__(self, domain, debug=True): def __init__(self, domain, debug=False):
if debug: if debug:
logging.basicConfig(level=logging.DEBUG) logging.basicConfig(level=logging.DEBUG)
logging.debug("__init__: DEBUG is set to True") logging.debug("__init__: DEBUG is set to True")