fix: modification to fix #1 issue
This commit is contained in:
@@ -80,6 +80,7 @@ def _decode_object(val, ident=5):
|
||||
"""
|
||||
_new_ident = ident + 1
|
||||
|
||||
try:
|
||||
for k, v in six.iteritems(val):
|
||||
# convert value to original type -> JSON
|
||||
try:
|
||||
@@ -162,6 +163,11 @@ def _decode_object(val, ident=5):
|
||||
# Transform is not possible -> plain string
|
||||
log.error('%s"%s": "%s"' % ((" " * ident), k, use_obj))
|
||||
|
||||
except AttributeError:
|
||||
|
||||
# Transform is not possible -> plain string
|
||||
log.error('%s"%s": "%s"' % ((" " * ident), k, use_obj))
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
def action_redis_dump(config):
|
||||
|
||||
Reference in New Issue
Block a user