From f66e74a707985357b17c5e8d750617f109bef548 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Wed, 22 Jun 2011 19:11:58 +0000 Subject: [PATCH] Don't double url-encode URLs when doing google image searches --- scripts/google-covers/google_covers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/google-covers/google_covers.py b/scripts/google-covers/google_covers.py index 27802dab9..cab30a215 100644 --- a/scripts/google-covers/google_covers.py +++ b/scripts/google-covers/google_covers.py @@ -65,7 +65,7 @@ class GoogleImagesCoverProvider(clementine.CoverProvider): current_args = self.api_args.copy() current_args['q'] = query - return QUrl(self.API_URL.format(urllib.urlencode(current_args))) + return QUrl.fromEncoded(self.API_URL.format(urllib.urlencode(current_args))) provider = GoogleImagesCoverProvider()