diff --git a/Google-Similar-Images-2.0.1.alfredworkflow b/Google-Similar-Images-2.0.2.alfredworkflow similarity index 89% rename from Google-Similar-Images-2.0.1.alfredworkflow rename to Google-Similar-Images-2.0.2.alfredworkflow index 28a09a9..cb7e2d8 100644 Binary files a/Google-Similar-Images-2.0.1.alfredworkflow and b/Google-Similar-Images-2.0.2.alfredworkflow differ diff --git a/src/info.plist b/src/info.plist index b241411..f4fd7c9 100644 --- a/src/info.plist +++ b/src/info.plist @@ -363,7 +363,7 @@ This workflow is released under the MIT License. version - 2.0.1 + 2.0.2 webaddress diff --git a/src/url_for_image.py b/src/url_for_image.py index 00981f6..b8c5ba4 100755 --- a/src/url_for_image.py +++ b/src/url_for_image.py @@ -70,7 +70,7 @@ def similar_images_url(image_path): # Extract the `Location:` header for line in output.split('\n'): log('[response] %s', line) - if line.startswith('Location: '): + if line.lower().startswith('location: '): redir_url = line[10:] break