diff --git a/dist/app-1.0.0-py3-none-any.whl b/dist/app-1.0.0-py3-none-any.whl index 4e7142f..e843173 100644 Binary files a/dist/app-1.0.0-py3-none-any.whl and b/dist/app-1.0.0-py3-none-any.whl differ diff --git a/dist/app-1.0.0.tar.gz b/dist/app-1.0.0.tar.gz index 56ac1a9..d668559 100644 Binary files a/dist/app-1.0.0.tar.gz and b/dist/app-1.0.0.tar.gz differ diff --git a/src/app/app.py b/src/app/app.py index b25c83b..c8cdee4 100644 --- a/src/app/app.py +++ b/src/app/app.py @@ -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):