From e6b30650c7899e52bfe42014b915e679132a383c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 9 Nov 2020 02:39:35 +0800 Subject: [PATCH] bugfix --- ahserver/baseProcessor.py | 1 + ahserver/processorResource.py | 1 + 2 files changed, 2 insertions(+) diff --git a/ahserver/baseProcessor.py b/ahserver/baseProcessor.py index 1836a55..3684724 100644 --- a/ahserver/baseProcessor.py +++ b/ahserver/baseProcessor.py @@ -37,6 +37,7 @@ class ObjectCache: return o.cached_obj return None + class BaseProcessor: @classmethod diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index 8818542..bf1edf0 100644 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -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,