aboutsummaryrefslogtreecommitdiffstats
path: root/backend/zmusic/endpoints/error.py
diff options
context:
space:
mode:
Diffstat (limited to 'backend/zmusic/endpoints/error.py')
-rw-r--r--backend/zmusic/endpoints/error.py2
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)