Run update/install once, as it installs/updates everything in one go

This commit is contained in:
Fabian Dill 2020-03-22 02:34:24 +01:00
parent 58e5bc3668
commit 2811cc9b66
2 changed files with 3 additions and 1 deletions

View File

@ -31,6 +31,7 @@ def update():
traceback.print_exc()
input(f'Required python module {module} not found, press enter to install it')
update_command()
return
else:
if hasattr(module, "__version__"):
module_version = module.__version__
@ -42,6 +43,7 @@ def update():
input(f'Required python module {module} is outdated ({module_version}<{remote_version}),'
' press enter to upgrade it')
update_command()
return
if __name__ == "__main__":

View File

@ -1,6 +1,6 @@
colorama>=0.4.3
websockets>=8.1
PyYAML>=5.3
PyYAML>=5.3.1
fuzzywuzzy>=0.18.0
bsdiff4>=1.1.9
upnpy>=1.1.5