diff options
Diffstat (limited to 'backend/zmusic/endpoints/error.py')
-rw-r--r-- | backend/zmusic/endpoints/error.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/zmusic/endpoints/error.py b/backend/zmusic/endpoints/error.py index c356c3d..de43caf 100644 --- a/backend/zmusic/endpoints/error.py +++ b/backend/zmusic/endpoints/error.py @@ -9,5 +9,5 @@ def json_error(ex): response.status_code = status_code return response -for code in default_exceptions.iterkeys(): +for code in default_exceptions.keys(): app.register_error_handler(code, json_error) |