diff options
author | Filipp Lepalaan <f@0x00.co> | 2013-04-03 11:38:26 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@0x00.co> | 2013-04-03 11:38:26 +0300 |
commit | e69ce467610530c4f4810c91d1faa070105e2813 (patch) | |
tree | c2bde94182bee5a175a43dde9f1e010373a34ecc | |
parent | ac3046f2f7b527b3e44d1364201855df3d74ab3c (diff) | |
download | py-gsxws-e69ce467610530c4f4810c91d1faa070105e2813.tar.gz py-gsxws-e69ce467610530c4f4810c91d1faa070105e2813.tar.bz2 py-gsxws-e69ce467610530c4f4810c91d1faa070105e2813.zip |
Fixing fetching Part image
-rwxr-xr-x | gsxws.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -576,7 +576,7 @@ class Part(GsxObject): image = '%s_350_350.gif' % self.partNumber url = 'https://km.support.apple.com.edgekey.net/kb/imageService.jsp?image=%s' % image - tmpfile = tempfile.NamedTemporaryFile(suffix=filename) + tmpfile = tempfile.NamedTemporaryFile(suffix=image) try: result = urllib.urlretrieve(url, tmpfile.name) |