Compare commits

..

2 Commits

Author SHA1 Message Date
yumoqing
18e4300fe8 bugfix 2024-10-10 10:50:18 +08:00
yumoqing
1ffed0fc16 bugfix 2024-10-10 10:50:07 +08:00

View File

@ -24,13 +24,13 @@ class AHApp(web.Application):
def __init__(self, *args, **kw):
kw['client_max_size'] = 1024000000
super().__init__(*args, **kw)
self.data = DictObject()
self.user_data = DictObject()
def set_data(self, k, v):
self.data[k] = v
self.user_data[k] = v
def get_data(self, k):
return self.data.get(k, DictObject())
return self.user_data.get(k)
class ConfiguredServer:
def __init__(self, auth_klass=AuthAPI, workdir=None):