summaryrefslogtreecommitdiff
path: root/searx/data/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/data/core.py')
-rw-r--r--searx/data/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/data/core.py b/searx/data/core.py
index 14cc77eb7..32a23e48b 100644
--- a/searx/data/core.py
+++ b/searx/data/core.py
@@ -9,9 +9,9 @@ from searx.cache import ExpireCacheCfg, ExpireCacheSQLite
log = logger.getChild("data")
-data_dir = pathlib.Path(__file__).parent
+data_dir: pathlib.Path = pathlib.Path(__file__).parent
-_DATA_CACHE: ExpireCacheSQLite = None # type: ignore
+_DATA_CACHE: ExpireCacheSQLite | None = None
def get_cache():