mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Display operation name if exist
This commit is contained in:
parent
1b62e9425d
commit
b0a60b89d2
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def log_display(file_name, number=50):
|
|||
raise MoulinetteError(errno.EINVAL,
|
||||
m18n.n('log_does_exists', log=file_name))
|
||||
infos = {}
|
||||
if not base_filename.startswith('/'):
|
||||
if not base_path.startswith(OPERATIONS_PATH):
|
||||
infos['description'] = m18n.n("log_" + operation[2], *operation[3:]),
|
||||
infos['name'] = base_filename
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue