[fix] Return nothing if argument is already set.

This commit is contained in:
frju365 2019-11-03 14:19:36 +01:00 committed by GitHub
parent d36fd27d5d
commit cb4057eabc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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