diff --git a/addons/io_hubs_addon/components/hubs_component.py b/addons/io_hubs_addon/components/hubs_component.py index 8434883d..fc0b2a46 100644 --- a/addons/io_hubs_addon/components/hubs_component.py +++ b/addons/io_hubs_addon/components/hubs_component.py @@ -45,7 +45,7 @@ def get_name(cls): @classmethod def get_display_name(cls, default=None): - default = cls.__name__ if default == None else default + default = cls.__name__ if default is None else default return cls.__get_definition('display_name', default) @classmethod