Fix syntax of ext.flask for Python 2.7, 3.4, 3.5

This commit is contained in:
Roman Mogylatov 2020-07-10 17:31:01 -04:00
parent 541534ec1d
commit fc6a13230a

View File

@ -58,8 +58,7 @@ class Route:
endpoint=None,
view_provider=None,
provide_automatic_options=None,
**options,
):
**options):
"""Initialize route."""
self.view_provider = view_provider
self.args = (rule, endpoint, as_view(view_provider, endpoint), provide_automatic_options)