mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Merge pull request #266 from YunoHost/fix-argparse
Fix https://github.com/YunoHost/yunohost/pull/1075#discussion_r551045491
This commit is contained in:
commit
4bd33a64d9
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class CommentParameter(_ExtraParameter):
|
|||
skipped_iface = ["api"]
|
||||
|
||||
def __call__(self, message, arg_name, arg_value):
|
||||
if arg_value:
|
||||
if arg_value is None:
|
||||
return
|
||||
return msignals.display(m18n.n(message))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue