mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fixing redis raw log.
This commit is contained in:
parent
ab99696d46
commit
c25c9452b4
1 changed files with 1 additions and 1 deletions
|
@ -51,6 +51,6 @@ class RedisDumpMiddleware(object):
|
|||
if isinstance(arg, Connection):
|
||||
continue
|
||||
if len(str(arg)) > 100:
|
||||
arg = "[%s bytes]" % len(arg)
|
||||
arg = "[%s bytes]" % len(str(arg))
|
||||
query.append(str(arg).replace('\n', ''))
|
||||
return { 'query': ' '.join(query) }
|
Loading…
Add table
Reference in a new issue