Skip to content
Permalink
Browse files

Renamed json into JSON

  • Loading branch information
joamag committed Mar 21, 2020
1 parent c0a1f9e commit d1253b1becb8d5859950fd8b50769f855afa5795
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/eadapters/models/budy/bd_common.py
@@ -97,9 +97,9 @@ def _handle_error(error, fallback = None, code = 400, encoding = "utf-8"):
except UnicodeDecodeError: data_s = "Undefined message"

try:
# tries to load the data as a json based message (for
# structure parsing) may fail due to bad json structure
# if the message data is not json valid
# tries to load the data as a JSON based message (for
# structure parsing) may fail due to bad JSON structure
# if the message data is not JSON valid
data_j = json.loads(data_s)

# tries to retrieve the message from the provided

0 comments on commit d1253b1

Please sign in to comment.
You can’t perform that action at this time.