mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
cli prompt: fix bottom toolbar displayed even if message is empty
This commit is contained in:
parent
5d61b74fde
commit
c44e025210
1 changed files with 4 additions and 4 deletions
|
@ -561,11 +561,11 @@ class Interface:
|
|||
}
|
||||
)
|
||||
|
||||
def bottom_toolbar():
|
||||
if help:
|
||||
def bottom_toolbar():
|
||||
return [("class:", help)]
|
||||
else:
|
||||
return []
|
||||
bottom_toolbar = None
|
||||
|
||||
colored_message = [
|
||||
("class:message", message),
|
||||
|
|
Loading…
Reference in a new issue