Explorar el Código

fixed undefined variable

Dimitri Korsch hace 3 años
padre
commit
ab154302d3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pycs/util/PipelineCache.py

+ 1 - 1
pycs/util/PipelineCache.py

@@ -27,7 +27,7 @@ class PipelineCache:
         self.__queue = Queue()
         self.__lock = Lock()
 
-        self._cache_time = cache_time or CLOSE_TIMER
+        self._cache_time = cache_time or self.CLOSE_TIMER
         print(f"Initialized Pipeline cache (pipelines are closed after {self._cache_time:.3f} sec)")
 
     def start(self):