Add qrcode requirement

This commit is contained in:
augustin64 2023-11-19 19:03:56 +01:00
parent f697bd0498
commit bdd9115f70
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,4 @@
flask flask
google google
colorama colorama
qrcode

View File

@ -131,3 +131,6 @@ def mass_rename():
def base_url_parameter_added(): def base_url_parameter_added():
print(f"{Style.BRIGHT}{Fore.YELLOW}The parameter BASE_URL has been added, reference your front url in it{Style.RESET_ALL}") print(f"{Style.BRIGHT}{Fore.YELLOW}The parameter BASE_URL has been added, reference your front url in it{Style.RESET_ALL}")
def install_qrcode():
os.system("pip install qrcode -qq")

View File

@ -36,7 +36,10 @@ hooks = [
("v1.4.0", [ ("v1.4.0", [
("Change all albums & groupes uuids", v1.mass_rename), ("Change all albums & groupes uuids", v1.mass_rename),
("Warn new parameter", v1.base_url_parameter_added) ("Warn new parameter", v1.base_url_parameter_added)
]) ]),
("v1.4.1", [
("Install qrcode", v1.install_qrcode)
]),
] ]