lookyloo/lookyloo.py
def _init_existing_dumps(self) -> None:
        '''Initialize the cache for all the captures'''
        p = self.redis.pipeline()
        for capture_dir in self.capture_dirs:
            if capture_dir.exists():
                self._set_capture_cache(capture_dir, redis_pipeline=p)
        p.set('cache_loaded', 1)
        p.execute()
Initialize the cache for all the captures
Initialize the cache for all the captures
Initialize the cache for all the captures
def _init_existing_dumps(self) -> None:
        p = self.redis.pipeline()
        for capture_dir in self.capture_dirs:
            if capture_dir.exists():
                self._set_capture_cache(capture_dir, redis_pipeline=p)
        p.set('cache_loaded', 1)
        p.execute()
def _init_existing_dumps ( self ) -> None : p = self . redis . pipeline ( ) for capture_dir in self . capture_dirs : if capture_dir . exists ( ) : self . _set_capture_cache ( capture_dir , redis_pipeline = p ) p . set ( 'cache_loaded' , 1 ) p . execute ( )
Initialize the cache for all the captures
Initialize the cache for all the captures
'''Initialize the cache for all the captures'''
self