Skip to content

Commit

Permalink
Change remote version URI
Browse files Browse the repository at this point in the history
  • Loading branch information
ppfeister committed May 20, 2024
1 parent 07274a9 commit 04ce7aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sherlock/sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 04ce7aa

Please sign in to comment.