~martijnbraam/shipments

02c7e4f7b31c0ea69ecb54211bac1c6563c34d0b — Martijn Braam 2 years ago c8b7306
carrier: ups: default to the english locale for the site
1 files changed, 1 insertions(+), 1 deletions(-)

M shipments/carrier.py
M shipments/carrier.py => shipments/carrier.py +1 -1
@@ 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':