Browse Source

fixed undefined variable

Dimitri Korsch 3 years ago
parent
commit
ab154302d3
1 changed files with 1 additions and 1 deletions
  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):