mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
🎨 Format Python code with Black
This commit is contained in:
parent
e5b575901a
commit
dbf579b7b4
1 changed files with 3 additions and 1 deletions
|
@ -863,7 +863,9 @@ def app_upgrade(
|
||||||
hook_remove(app_instance_name)
|
hook_remove(app_instance_name)
|
||||||
if "hooks" in os.listdir(extracted_app_folder):
|
if "hooks" in os.listdir(extracted_app_folder):
|
||||||
for hook in os.listdir(extracted_app_folder + "/hooks"):
|
for hook in os.listdir(extracted_app_folder + "/hooks"):
|
||||||
hook_add(app_instance_name, extracted_app_folder + "/hooks/" + hook)
|
hook_add(
|
||||||
|
app_instance_name, extracted_app_folder + "/hooks/" + hook
|
||||||
|
)
|
||||||
|
|
||||||
# Replace scripts and manifest and conf (if exists)
|
# Replace scripts and manifest and conf (if exists)
|
||||||
# Move scripts and manifest to the right place
|
# Move scripts and manifest to the right place
|
||||||
|
|
Loading…
Add table
Reference in a new issue