aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@0x00.co>2013-04-03 11:29:31 +0300
committerFilipp Lepalaan <f@0x00.co>2013-04-03 11:29:31 +0300
commit7bfb67ae53795cd820f7df8ba9ca1a134377bb1a (patch)
tree74fba7247f90fcd484119954d584f57dd92cfa5d
parentf666cb4d1ec12498b671eb361f5c60461288b6ba (diff)
downloadpy-gsxws-7bfb67ae53795cd820f7df8ba9ca1a134377bb1a.tar.gz
py-gsxws-7bfb67ae53795cd820f7df8ba9ca1a134377bb1a.tar.bz2
py-gsxws-7bfb67ae53795cd820f7df8ba9ca1a134377bb1a.zip
Fix fetching Product image
-rwxr-xr-xgsxws.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws.py b/gsxws.py
index bc9b7f8..b642032 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -857,7 +857,7 @@ class Product(GsxObject):
raise GsxError('Cannot fetch product image with image URL')
try:
- urllib.urlretrieve(self.imageURL)
+ result = urllib.urlretrieve(self.imageURL)
return result[0]
except Exception, e:
raise GsxError('Failed to fetch product image: %s' % e)