mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 17:26:26 +01:00
Add qrcode requirement
This commit is contained in:
parent
f697bd0498
commit
bdd9115f70
@ -1,3 +1,4 @@
|
|||||||
flask
|
flask
|
||||||
google
|
google
|
||||||
colorama
|
colorama
|
||||||
|
qrcode
|
@ -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")
|
@ -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)
|
||||||
|
]),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user