Merge pull request #266 from YunoHost/fix-argparse

Fix https://github.com/YunoHost/yunohost/pull/1075#discussion_r551045491
This commit is contained in:
Alexandre Aubin 2021-01-06 01:33:44 +01:00 committed by GitHub
commit 4bd33a64d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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))