From d85cffb000f482bc26d0b54c9c2071976e33b8b9 Mon Sep 17 00:00:00 2001 From: ender-s <79700256+ender-s@users.noreply.github.com> Date: Fri, 25 Aug 2023 22:27:28 +0300 Subject: [PATCH] Fix: SipleQueue typo --- ThreadPoolExecutorPlus/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThreadPoolExecutorPlus/thread.py b/ThreadPoolExecutorPlus/thread.py index 907cba1..729d80b 100644 --- a/ThreadPoolExecutorPlus/thread.py +++ b/ThreadPoolExecutorPlus/thread.py @@ -24,7 +24,7 @@ raise RuntimeError("We havent decided how many threads should acquire on your platform. Maybe you have to modify source code your self.") BASE_ABOVE_PY_37 = True if 'BrokenExecutor' in dir(_base) else False -QUEUE_ABOVE_PY_37 = True if 'SipleQueue' in dir(queue) else False +QUEUE_ABOVE_PY_37 = True if 'SimpleQueue' in dir(queue) else False # Workers are created as daemon threads. This is done to allow the interpreter # to exit when there are still idle threads in a ThreadPoolExecutor's thread