Skip to content

Commit

Permalink
Fix comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Jul 24, 2023
1 parent c724828 commit c1d01d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/io_hubs_addon/components/hubs_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c1d01d4

Please sign in to comment.