diff options
Diffstat (limited to 'gn_auth/errors.py')
-rw-r--r-- | gn_auth/errors.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gn_auth/errors.py b/gn_auth/errors.py index fdd2f3e..7e90659 100644 --- a/gn_auth/errors.py +++ b/gn_auth/errors.py @@ -39,5 +39,5 @@ __error_handlers__ = { } def register_error_handlers(app: Flask): """Register ALL defined error handlers""" - for klass, error_handler in __error_handlers__.items(): - app.register_error_handler(klass, error_handler) + for class_, error_handler in __error_handlers__.items(): + app.register_error_handler(class_, error_handler) |