openurl param must be encoded

This commit is contained in:
Christophe Benz 2010-07-14 01:05:57 +02:00 committed by Romain Bignon
commit f55cdbc38b
3 changed files with 6 additions and 4 deletions

View file

@ -52,7 +52,7 @@ class GazelleBackend(BaseBackend, ICapTorrent):
if not torrent:
return None
return self.browser.openurl(torrent.url).read()
return self.browser.openurl(torrent.url.encode('utf-8')).read()
def iter_torrents(self, pattern):
return self.browser.iter_torrents(pattern)