diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-06-08 23:03:07 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-06-08 23:03:07 +0300 |
commit | 2818886ac2db4472d63aeaab8272d2bf1b54c111 (patch) | |
tree | 39812973482ff3362e0c87f3293be0d60cc32d24 /gsxws | |
parent | 640a70c2b50db3dca3db9cd558dff6642dba8017 (diff) | |
download | py-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.py | 2 |
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 |