Compare commits
2 Commits
6d0b98f67a
...
18e4300fe8
Author | SHA1 | Date | |
---|---|---|---|
|
18e4300fe8 | ||
|
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):
|
||||
|
Loading…
Reference in New Issue
Block a user