Skip to content
Snippets Groups Projects
Commit 0334074a authored by Ryan Kraus's avatar Ryan Kraus
Browse files

Quick fix to the comparison to validate if an entity is hidden.

parent a3d69722
Branches
Tags
No related merge requests found
......@@ -139,7 +139,7 @@ class Entity(object):
"""
if self.entity_id is not None and \
self.entity_id.lower() in self._visibility:
return self._visibility[self.entity_id.lower()] is 'hide'
return self._visibility[self.entity_id.lower()] == 'hide'
else:
return self._hidden
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment