Skip to content

Commit

Permalink
Fix unusable unicode character in whistl reponse
Browse files Browse the repository at this point in the history
  • Loading branch information
ellbristow committed Jun 7, 2024
1 parent 2732132 commit bdf6b7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion delivery_parcelhub_whistl/models/delivery.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ def whistl_tracking_state_update(self, picking):
)

try:
tracking_response = ET.fromstring(response.content)
tracking_response = ET.fromstring(response.content.decode("utf8"))
except Exception as e:
raise ValidationError(
_(
Expand Down

0 comments on commit bdf6b7a

Please sign in to comment.