diff options
author | 2021-01-06 14:43:18 +0100 | |
---|---|---|
committer | 2021-01-07 20:40:24 +0100 | |
commit | a12f613086eb60147a2f19a4b58976664505f36b (patch) | |
tree | 1533d440f2327d6feea05dfebd51b5ef23adab84 /backend/zmusic/endpoints/error.py | |
parent | Simplify deployment (diff) | |
download | zmusic-ng-master.tar.xz zmusic-ng-master.zip |
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) |