diff options
author | Alexander Hayden <alexhayden25@gmail.com> | 2019-02-01 15:13:30 -0500 |
---|---|---|
committer | Alexander Hayden <alexhayden25@gmail.com> | 2019-02-01 15:13:30 -0500 |
commit | 3648c8348d839827bbdd64780b8063c65421851a (patch) | |
tree | 12fff0b477edb58237fd7bac9a70be4ec3a15ef4 /update.py | |
parent | 37e09acf371cb7c51c382b6d23b42524ff6cd8ca (diff) | |
download | modpackman-3648c8348d839827bbdd64780b8063c65421851a.tar.gz modpackman-3648c8348d839827bbdd64780b8063c65421851a.zip |
Remove bad and update 'check_updates'
Diffstat (limited to 'update.py')
-rwxr-xr-x | update.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 = [] |