Skip to content

Commit 1e50480

Browse files
committed
Fixing is_cached
1 parent 5d5ac3e commit 1e50480

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

jee_data_base/core/cache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def find_class(self, module, name):
9999

100100
def is_cached(self,data_name:str)->bool:
101101
pattern = rf"^\d*-{data_name}-{self.schema_version}.pkl$"
102-
cache_files_paths = os.listdir(cache_path)
102+
cache_files_paths = os.listdir(self.cache_path)
103103
cache_files = [Path(file).name for file in cache_files_paths]
104104
health = False
105105
for i in cache_files:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "jee_data_base"
7-
version = "0.1.2.post5"
7+
version = "0.1.2.post6"
88
description = "JEE Mains PYQS data base"
99
authors = [{ name="HostServer001", email="[email protected]" }]
1010
readme = "README.md"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="jee_data_base",
5-
version="0.1.2.post5",
5+
version="0.1.2.post6",
66
packages=find_packages(),
77
install_requires=[
88
"hdbscan",

0 commit comments

Comments
 (0)