Skip to content

Commit

Permalink
bugfix - jsondecoder - empty val
Browse files Browse the repository at this point in the history
  • Loading branch information
Signorini committed Jun 16, 2018
1 parent b995162 commit 33ed390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/libs/jsonEncoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def default(self, obj):
val = obj.decode('utf-8')
except Exception as err:
logger.error("==================================> Decode is not utf-8 - %s", str(err))
return val
pass

if val is None:
val = json.JSONEncoder.default(self, obj)
Expand Down

0 comments on commit 33ed390

Please sign in to comment.