From 04ce7aa0bb841fe2a6675cf3766133d1d30559a0 Mon Sep 17 00:00:00 2001 From: Paul Pfeister Date: Mon, 20 May 2024 00:51:28 -0400 Subject: [PATCH] Change remote version URI --- sherlock/sherlock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sherlock/sherlock.py b/sherlock/sherlock.py index 9846cb5a..e029a59d 100644 --- a/sherlock/sherlock.py +++ b/sherlock/sherlock.py @@ -679,10 +679,10 @@ def main(): # Check for newer version of Sherlock. If it exists, let the user know about it try: r = requests.get( - "https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/sherlock.py" + "https://raw.githubusercontent.com/sherlock-project/sherlock/master/sherlock/__init__.py" ) - remote_version = str(re.findall('__version__ = "(.*)"', r.text)[0]) + remote_version = str(re.findall('__version__ *= *"(.*)"', r.text)[0]) local_version = __version__ if remote_version != local_version: