justheuristic 5 anni fa
parent
commit
88d1bdc025
1 ha cambiato i file con 2 aggiunte e 4 eliminazioni
  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: