From 7bfb67ae53795cd820f7df8ba9ca1a134377bb1a Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 3 Apr 2013 11:29:31 +0300 Subject: Fix fetching Product image --- gsxws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsxws.py') 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) -- cgit v1.2.3