From 87dc3cd6198a918e7216eb9a49b581222ec8f41f Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Wed, 22 May 2024 16:04:59 -0400 Subject: [PATCH] Adjust imports --- sherlock/__main__.py | 2 +- sherlock/notify.py | 2 +- sherlock/sherlock.py | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sherlock/__main__.py b/sherlock/__main__.py index b10bd6aef..39068a06a 100644 --- a/sherlock/__main__.py +++ b/sherlock/__main__.py @@ -18,5 +18,5 @@ print(f"Sherlock requires Python 3.6+\nYou are using Python {python_version}, which is not supported by Sherlock.") sys.exit(1) - import sherlock + from sherlock import sherlock sherlock.main() diff --git a/sherlock/notify.py b/sherlock/notify.py index 4af1ff18e..c198fe620 100644 --- a/sherlock/notify.py +++ b/sherlock/notify.py @@ -3,7 +3,7 @@ This module defines the objects for notifying the caller about the results of queries. """ -from result import QueryStatus +from sherlock.result import QueryStatus from colorama import Fore, Style import webbrowser diff --git a/sherlock/sherlock.py b/sherlock/sherlock.py index 3f7a93391..d48791942 100644 --- a/sherlock/sherlock.py +++ b/sherlock/sherlock.py @@ -21,10 +21,10 @@ from requests_futures.sessions import FuturesSession from torrequest import TorRequest -from result import QueryStatus -from result import QueryResult -from notify import QueryNotifyPrint -from sites import SitesInformation +from sherlock.result import QueryStatus +from sherlock.result import QueryResult +from sherlock.notify import QueryNotifyPrint +from sherlock.sites import SitesInformation from colorama import init from argparse import ArgumentTypeError