From 02c7e4f7b31c0ea69ecb54211bac1c6563c34d0b Mon Sep 17 00:00:00 2001 From: Martijn Braam Date: Mon, 10 Jan 2022 02:40:25 +0100 Subject: [PATCH] carrier: ups: default to the english locale for the site --- shipments/carrier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shipments/carrier.py b/shipments/carrier.py index f7cd99f..0dfdf67 100644 --- a/shipments/carrier.py +++ b/shipments/carrier.py @@ -236,7 +236,7 @@ class UPS(Carrier): details = payload['trackDetails'][0] result = PackageInfo(code, 'UPS') result.carrier_name = 'UPS' - result.tracking_url = 'https://www.ups.com/track?loc=nl_NL&requester=DAN&tracknum=' + code + result.tracking_url = 'https://www.ups.com/track?loc=en_EN&requester=DAN&tracknum=' + code result.status = details['packageStatus'] result.status_category = StatusCategory.LABEL_CREATED if details['progressBarType'] == 'InTransit': -- 2.45.2