Skip to content

Commit

Permalink
Merge pull request #58 from GlodoUK/GH115206
Browse files Browse the repository at this point in the history
Fix unusable unicode character in whistl reponse
  • Loading branch information
ellbristow authored Jun 7, 2024
2 parents 9773205 + bdf6b7a commit f69d8ae
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 f69d8ae

Please sign in to comment.