aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-06-08 23:03:07 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-06-08 23:03:07 +0300
commit2818886ac2db4472d63aeaab8272d2bf1b54c111 (patch)
tree39812973482ff3362e0c87f3293be0d60cc32d24 /gsxws
parent640a70c2b50db3dca3db9cd558dff6642dba8017 (diff)
downloadpy-gsxws-2818886ac2db4472d63aeaab8272d2bf1b54c111.tar.gz
py-gsxws-2818886ac2db4472d63aeaab8272d2bf1b54c111.tar.bz2
py-gsxws-2818886ac2db4472d63aeaab8272d2bf1b54c111.zip
For for numeric tracking numbers
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/repairs.py2
1 files changed, 1 insertions, 1 deletions
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('<<TRKNO>>', p.deliveryTrackingNumber)
+ url = p.carrierURL.replace('<<TRKNO>>', str(p.deliveryTrackingNumber))
details.partsInfo[i].carrierURL = url
except AttributeError:
pass