Skip to content

Commit

Permalink
Update admin.py
Browse files Browse the repository at this point in the history
fix TypeError at /admin/redisboard/redisserver/
can't concat bytes to str
  • Loading branch information
gabn88 committed Nov 6, 2016
1 parent c9765f4 commit 61f507a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/redisboard/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def slowlog(self, obj):
command = log['command']

if len(command) > 255:
command = command[:252] + '...'
command = str(command[:252]) + '...'

output.append((
log['duration'],
Expand Down

0 comments on commit 61f507a

Please sign in to comment.