Skip to content

Commit

Permalink
Update update.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredredbird committed Apr 19, 2024
1 parent cb01b0c commit 807c2da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 807c2da

Please sign in to comment.