Skip to content

Commit 459581f

Browse files
committed
check if ids exist with none
1 parent 91393a9 commit 459581f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

frost_sta_client/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__title__ = 'frost_sta_client'
2-
__version__ = '1.1.43'
2+
__version__ = '1.1.44'
33
__license__ = 'LGPL3'
44
__author__ = 'Jonathan Vogl'
55
__copyright__ = 'Fraunhofer IOSB'

frost_sta_client/model/entity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __eq__(self, other):
109109
return False
110110
if id(self) == id(other):
111111
return True
112-
if self.id and other.id:
112+
if self.id is not None and other.id is not None:
113113
if self.id != other.id:
114114
return False
115115
return True

0 commit comments

Comments
 (0)