mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Return nothing if argument is already set.
This commit is contained in:
parent
d36fd27d5d
commit
cb4057eabc
1 changed files with 3 additions and 0 deletions
|
@ -89,6 +89,9 @@ class CommentParameter(_ExtraParameter):
|
|||
skipped_iface = ['api']
|
||||
|
||||
def __call__(self, message, arg_name, arg_value):
|
||||
if arg_value:
|
||||
return
|
||||
|
||||
return msignals.display(m18n.n(message))
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Add table
Reference in a new issue