소스 검색

Fixed equality comparison in Label.py

Stefan Schmidt 6 년 전
부모
커밋
45a994016b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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