This commit is contained in:
yumoqing 2020-11-09 02:39:35 +08:00
parent b1cf7464ab
commit e6b30650c7
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ class ObjectCache:
return o.cached_obj
return None
class BaseProcessor:
@classmethod

View File

@ -47,6 +47,7 @@ def i18nDICT(request):
l = c.langMapping.get(lang,lang)
return json.dumps(i18n.getLangDict(l)).encode(c.website.coding)
class ProcessorResource(StaticResource,Url2File):
def __init__(self, prefix: str, directory: PathLike,
*, name: Optional[str]=None,