bugfix
This commit is contained in:
parent
6d0b98f67a
commit
1ffed0fc16
@ -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):
|
||||
|
@ -146,6 +146,7 @@ class WsPool:
|
||||
if r is None:
|
||||
r = WsData()
|
||||
self.set_data(r)
|
||||
debug(f'get_data():r={r}')
|
||||
return r
|
||||
|
||||
def set_data(self, data):
|
||||
|
Loading…
Reference in New Issue
Block a user