diff --git a/sherlock/__init__.py b/sherlock/__init__.py index 2e97d156..91f8f66e 100644 --- a/sherlock/__init__.py +++ b/sherlock/__init__.py @@ -6,7 +6,7 @@ networks. """ # This variable is only used to check for ImportErrors induced by users running as script rather than as module or package -importErrTestVar = None +import_error_test_var = None __shortname__ = "Sherlock" __longname__ = "Sherlock: Find Usernames Across Social Networks" diff --git a/sherlock/sherlock.py b/sherlock/sherlock.py index bbd5a72c..2ebd0d74 100644 --- a/sherlock/sherlock.py +++ b/sherlock/sherlock.py @@ -10,7 +10,7 @@ networks. import sys try: - from sherlock.__init__ import importErrTestVar # noqa: F401 + from sherlock.__init__ import import_error_test_var # noqa: F401 except ImportError: print("Did you run Sherlock with `python3 sherlock/sherlock.py ...`?") print("This is an outdated method. Please see https://sherlockproject.xyz/installation for up to date instructions.")