fix 二级分类Bug

This commit is contained in:
jxxghp
2023-07-18 07:38:39 +08:00
parent 7d9db506e1
commit 9a266c47b4
3 changed files with 15 additions and 9 deletions

View File

@ -9,6 +9,12 @@ from app.utils.singleton import Singleton
class CategoryHelper(metaclass=Singleton):
"""
二级分类
"""
_categorys = {}
_movie_categorys = {}
_tv_categorys = {}
def __init__(self):
self._category_path: Path = settings.CONFIG_PATH / "category.yaml"