diff options
Diffstat (limited to 'pandora/errors.py')
-rw-r--r-- | pandora/errors.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pandora/errors.py b/pandora/errors.py index 3b03db2..f240e0f 100644 --- a/pandora/errors.py +++ b/pandora/errors.py | |||
@@ -89,7 +89,10 @@ class PandoraException(Exception): | |||
89 | exception = type( | 89 | exception = type( |
90 | name, | 90 | name, |
91 | (PandoraException,), | 91 | (PandoraException,), |
92 | {"code": code, "message": api_message,}, | 92 | { |
93 | "code": code, | ||
94 | "message": api_message, | ||
95 | }, | ||
93 | ) | 96 | ) |
94 | 97 | ||
95 | export_to[name] = __API_EXCEPTIONS__[code] = exception | 98 | export_to[name] = __API_EXCEPTIONS__[code] = exception |