def _init_cache(self): if isfile(self._cache_file_path): try: return load_pickle(self._cache_file_path) except EOFError: return {} return {}
def _init_cache(self): if isfile(self._cache_file_path): return load_pickle(self._cache_file_path) else: return {}