Browse Source

Fixed equality comparison in Label.py

Stefan Schmidt 6 years ago
parent
commit
45a994016b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/ID2TLib/Label.py

+ 1 - 1
code/ID2TLib/Label.py

@@ -21,7 +21,7 @@ class Label:
         self.parameters = parameters
 
     def __eq__(self, other):
-        return self.timestamp == other.timestamp
+        return self.timestamp_start == other.timestamp_start
 
     def __lt__(self, other):
         return self.timestamp_start < other.timestamp_start