From 2818886ac2db4472d63aeaab8272d2bf1b54c111 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 8 Jun 2015 23:03:07 +0300 Subject: For for numeric tracking numbers --- gsxws/repairs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsxws') diff --git a/gsxws/repairs.py b/gsxws/repairs.py index dd9afd3..6393de6 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -198,7 +198,7 @@ class Repair(GsxObject): # fix tracking URL, if available for i, p in enumerate(details.partsInfo): try: - url = p.carrierURL.replace('<>', p.deliveryTrackingNumber) + url = p.carrierURL.replace('<>', str(p.deliveryTrackingNumber)) details.partsInfo[i].carrierURL = url except AttributeError: pass -- cgit v1.2.3