Skip to content

Commit

Permalink
resolve flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofgentoo committed Oct 21, 2022
1 parent db51c77 commit 32e36fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keg/web.py
Expand Up @@ -8,9 +8,9 @@
from flask import request
from flask.views import MethodView, http_method_funcs
try:
from flask.views import MethodViewType
from flask.views import MethodViewType
except ImportError:
MethodViewType = None
MethodViewType = None
import six
from werkzeug.datastructures import MultiDict

Expand Down Expand Up @@ -123,7 +123,7 @@ def __init_subclass__(cls, **kwargs):
changed to using `init_subclass`. If the old way is enabled, no need to
do anything but call the super here."""
super().__init_subclass__(**kwargs)

if MethodViewType is None and cls.blueprint is not None:
cls.assign_blueprint(cls.blueprint)

Expand Down

0 comments on commit 32e36fd

Please sign in to comment.