浏览代码

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=""):
         """