Explorar o código

fixed undefined variable

Dimitri Korsch %!s(int64=3) %!d(string=hai) anos
pai
achega
ab154302d3
Modificáronse 1 ficheiros con 1 adicións e 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):