Fix click support (issue #437)

This commit is contained in:
allegroai 2021-08-27 19:08:40 +03:00
parent 569ab6610d
commit 5a9155b203

View File

@ -89,7 +89,7 @@ class PatchClick:
if option.type is not None:
PatchClick._args_type[name+'/'+option.name] = str(option.type)
# store value help
if option.help:
if getattr(option, 'help', None):
PatchClick._args_desc[name+'/'+option.name] = str(option.help)
return original_fn(self, *args, **kwargs)