diff options
Diffstat (limited to 'cdsapi/api.py')
-rw-r--r-- | cdsapi/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdsapi/api.py b/cdsapi/api.py index f8517ac..40512de 100644 --- a/cdsapi/api.py +++ b/cdsapi/api.py @@ -197,7 +197,7 @@ class Client(object): if n.strip() == '' and not self.full_stack: break self.logger.error(' %s' % (n,)) - raise Exception(reply['error'].get('reason'),) + raise Exception(reply['error'].get('reason')) raise Exception('Unknown API state [%s]' % (reply['state'],)) |