Compare commits

..

No commits in common. "18e4300fe88da866844122f6ebf717ccd152920c" and "6d0b98f67abe5904c04af10b57631a72267bd5b9" have entirely different histories.

View File

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