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

+ 1 - 1
tesseract/utils/threading.py

@@ -1,5 +1,5 @@
 import os
-from concurrent.futures import Future, ThreadPoolExecutor, as_completed
+from concurrent.futures import Future, ThreadPoolExecutor, as_completed, TimeoutError
 import time
 from typing import Optional, List