Преглед изворни кода

refactor imports in ID2TLib/Label.py

Jens Keim пре 6 година
родитељ
комит
b58825c850
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      code/ID2TLib/Label.py

+ 2 - 2
code/ID2TLib/Label.py

@@ -1,7 +1,7 @@
-from functools import total_ordering
+import functools
 
 
-@total_ordering
+@functools.total_ordering
 class Label:
     def __init__(self, attack_name, timestamp_start, timestamp_end, attack_note=""):
         """