mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Support other log path in metadata
This commit is contained in:
parent
2c30bb8965
commit
bb03e90d16
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ def log_display(file_name):
|
|||
metadata = yaml.safe_load(md_file)
|
||||
infos['metadata_path'] = md_path
|
||||
infos['metadata'] = metadata
|
||||
if 'log_path' in metadata:
|
||||
log_path = metadata['log_path']
|
||||
except yaml.YAMLError as exc:
|
||||
print(exc)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue