mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +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)
|
metadata = yaml.safe_load(md_file)
|
||||||
infos['metadata_path'] = md_path
|
infos['metadata_path'] = md_path
|
||||||
infos['metadata'] = metadata
|
infos['metadata'] = metadata
|
||||||
|
if 'log_path' in metadata:
|
||||||
|
log_path = metadata['log_path']
|
||||||
except yaml.YAMLError as exc:
|
except yaml.YAMLError as exc:
|
||||||
print(exc)
|
print(exc)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue