mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Index error on description
This commit is contained in:
parent
b0a60b89d2
commit
17bbe6f4b2
1 changed files with 2 additions and 1 deletions
|
@ -111,7 +111,8 @@ def log_display(file_name, number=50):
|
|||
m18n.n('log_does_exists', log=file_name))
|
||||
infos = {}
|
||||
if not base_path.startswith(OPERATIONS_PATH):
|
||||
infos['description'] = m18n.n("log_" + operation[2], *operation[3:]),
|
||||
if len(operation) > 2:
|
||||
infos['description'] = m18n.n("log_" + operation[2], *operation[3:]),
|
||||
infos['name'] = base_filename
|
||||
|
||||
if os.path.exists(md_path):
|
||||
|
|
Loading…
Add table
Reference in a new issue