mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Hook bugfix
This commit is contained in:
parent
ecaedc2e11
commit
8e764af4ef
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ def hook_check(file):
|
||||||
|
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
with open(file[:file.index('scripts/install')] + 'manifest.json') as f:
|
with open(file[:file.index('scripts/')] + 'manifest.json') as f:
|
||||||
manifest = json.loads(str(f.read()))
|
manifest = json.loads(str(f.read()))
|
||||||
except:
|
except:
|
||||||
raise YunoHostError(22, _("Invalid app package"))
|
raise YunoHostError(22, _("Invalid app package"))
|
||||||
|
|
Loading…
Add table
Reference in a new issue