Przeglądaj źródła

Temporarily fix a Label instantiation error

dustin.born 6 lat temu
rodzic
commit
db8bd35f69
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      code/ID2TLib/LabelManager.py

+ 1 - 1
code/ID2TLib/LabelManager.py

@@ -194,7 +194,7 @@ class LabelManager:
             attack_note = get_value_from_node(a, self.TAG_ATTACK_NOTE, 0)
             timestamp_start = get_value_from_node(a, self.TAG_TIMESTAMP_START, 1, 0)
             timestamp_end = get_value_from_node(a, self.TAG_TIMESTAMP_END, 1, 0)
-            label = Label.Label(attack_name, float(timestamp_start), float(timestamp_end), attack_note)
+            label = Label(attack_name, float(timestamp_start), float(timestamp_end), attack_note)
             self.labels.append(label)
             count_labels += 1