Skip to content

Commit 9096efc

Browse files
Massi78Tenebriso
authored andcommitted
Update nova_loader.py
1 parent 5a04cf1 commit 9096efc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hubblestack/extmods/modules/nova_loader.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ def __bool__(self):
119119
# we are zero if dict is empty and loaded is true
120120
return bool(self._dict or not self.loaded)
121121

122-
def __bool__(self):
122+
def __nonzero__(self):
123123
# we are zero if dict is empty and loaded is true
124-
return self.__nonzero__()
124+
return self.__bool__()
125125

126126
def clear(self):
127127
"""

0 commit comments

Comments
 (0)