From 807c2da164cbf0573fa9687a8e77aab090d7fe22 Mon Sep 17 00:00:00 2001 From: alfredredbird <105014217+Alfredredbird@users.noreply.github.com> Date: Thu, 18 Apr 2024 23:50:10 -0700 Subject: [PATCH] Update update.py --- update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update.py b/update.py index 86dff2d..eb1dfc4 100755 --- a/update.py +++ b/update.py @@ -6,10 +6,10 @@ # Global variables config_version_path = "./config/version.cfg" config_udfl_path = "./config/udfl" -tookie-osint_update_path = ( +tookie_osint_update_path = ( "https://raw.githubusercontent.com/alfredredbird/tookie-osint/main/config/version.cfg" ) -tookie-osint_install_path = "/tookie-osint/" +tookie_osint_install_path = "/tookie-osint/" gitfile_location = "https://raw.githubusercontent.com/alfredredbird/tookie-osint/main/" dl_count = 0 @@ -40,7 +40,7 @@ def save_file_from_url(self, url, destination): def update(self): try: - remote_version = requests.get(tookie-osint_update_path).text.strip() + remote_version = requests.get(tookie_osint_update_path).text.strip() except requests.ConnectionError: print("Failed to fetch updates. (-1)") return