From f1d4a841eb934cde3efb4696dfe9b589c2fe444b Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 8 Jul 2024 01:36:24 -0400 Subject: [PATCH] Switch to snake_case --- sherlock/__init__.py | 2 +- sherlock/sherlock.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.")