justheuristic преди 5 години
родител
ревизия
88d1bdc025
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2 4
      tesseract/utils/threading.py

+ 2 - 4
tesseract/utils/threading.py

@@ -1,7 +1,5 @@
-import time
-from concurrent.futures import Future, TimeoutError
-from itertools import count
-from threading import Thread, Event, Lock
+from concurrent.futures import Future
+from threading import Thread
 
 
 def run_in_background(func: callable, *args, **kwargs) -> Future: