Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix py3 compat.
  • Loading branch information
ionelmc committed Dec 9, 2014
1 parent 6d1bef9 commit 806c165
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/redisboard/models.py
Expand Up @@ -127,9 +127,9 @@ def stats(self):
'details': {},
'brief_details': {},
}
except redis.exceptions.ResponseError, e:
except redis.exceptions.ResponseError as exc:
return {
'status': 'ERROR: %s' % e.args,
'status': 'ERROR: %s' % exc.args,
'clients': 'n/a',
'memory': 'n/a',
'details': {},
Expand Down

0 comments on commit 806c165

Please sign in to comment.