aboutsummaryrefslogtreecommitdiff
path: root/update.py
diff options
context:
space:
mode:
authorAlexander Hayden <alexhayden25@gmail.com>2019-02-01 15:13:30 -0500
committerAlexander Hayden <alexhayden25@gmail.com>2019-02-01 15:13:30 -0500
commit3648c8348d839827bbdd64780b8063c65421851a (patch)
tree12fff0b477edb58237fd7bac9a70be4ec3a15ef4 /update.py
parent37e09acf371cb7c51c382b6d23b42524ff6cd8ca (diff)
downloadmodpackman-3648c8348d839827bbdd64780b8063c65421851a.tar.gz
modpackman-3648c8348d839827bbdd64780b8063c65421851a.zip
Remove bad and update 'check_updates'
Diffstat (limited to 'update.py')
-rwxr-xr-xupdate.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/update.py b/update.py
index c203240..ce45c13 100755
--- a/update.py
+++ b/update.py
@@ -59,10 +59,11 @@ def check_updates():
print("Checking updates...\nThe following mods have updates available:\n")
for mod in latest:
+ print(f"Checking for updates to {mod[0]}..." + " " * 35,end="\r")
resp = requests.get(mod[1])
if not resp.url in old_urls:
print(f" -> Found update for {mod[0]}: {resp.url.split('/')[-1]}")
- print("\nFinished checking for updates!")
+ print("Finished checking for updates!" + " " * 35)
def read_file(fil):
strings = []