From e1bb359bad82f9accb39f10ebac3fe308381d1c6 Mon Sep 17 00:00:00 2001 From: cy3erdr4g0n Date: Fri, 28 Jun 2024 16:05:36 +0100 Subject: [PATCH] fix ImportError --- sherlock/notify.py | 2 +- sherlock/sherlock.py | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/sherlock/notify.py b/sherlock/notify.py index c198fe620..4af1ff18e 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 sherlock.result import QueryStatus +from result import QueryStatus from colorama import Fore, Style import webbrowser diff --git a/sherlock/sherlock.py b/sherlock/sherlock.py index db8e9c2cb..6a4b15e17 100644 --- a/sherlock/sherlock.py +++ b/sherlock/sherlock.py @@ -24,18 +24,18 @@ __version__ = "0.14.4" del __version__ -from .__init__ import ( # noqa: E402 +from __init__ import ( # noqa: E402 __longname__, __version__ ) from requests_futures.sessions import FuturesSession # noqa: E402 from torrequest import TorRequest # noqa: E402 -from sherlock.result import QueryStatus # noqa: E402 -from sherlock.result import QueryResult # noqa: E402 -from sherlock.notify import QueryNotify # noqa: E402 -from sherlock.notify import QueryNotifyPrint # noqa: E402 -from sherlock.sites import SitesInformation # noqa: E402 +from result import QueryStatus # noqa: E402 +from result import QueryResult # noqa: E402 +from notify import QueryNotify # noqa: E402 +from notify import QueryNotifyPrint # noqa: E402 +from sites import SitesInformation # noqa: E402 from colorama import init # noqa: E402 from argparse import ArgumentTypeError # noqa: E402