Automated update of Base Application package.
This commit is contained in:
parent
e3b70d8a51
commit
eb5af2ab7b
BIN
dist/app-1.0.0-py3-none-any.whl
vendored
BIN
dist/app-1.0.0-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/app-1.0.0.tar.gz
vendored
BIN
dist/app-1.0.0.tar.gz
vendored
Binary file not shown.
@ -38,11 +38,10 @@ class BaseApplication(web.Application):
|
||||
middlewares.append(self.session_middleware)
|
||||
super().__init__(middlewares=middlewares, *args, **kwargs)
|
||||
|
||||
|
||||
def run(self, *args, **kwargs):
|
||||
if kwargs.get('port'):
|
||||
if not kwargs.get('host'):
|
||||
kwargs['host'] = '127.0.0.1'
|
||||
if kwargs.get("port"):
|
||||
if not kwargs.get("host"):
|
||||
kwargs["host"] = "127.0.0.1"
|
||||
web.run_app(self, *args, **kwargs)
|
||||
|
||||
async def authenticate(self, username, password):
|
||||
|
Loading…
Reference in New Issue
Block a user