fix Gandalf's encoding

This commit is contained in:
Tomasz Długosz 2011-05-19 23:34:29 +02:00
parent 4257cf6e3b
commit 51146643c9

View File

@ -37,7 +37,7 @@ class GandalfStore(BasicStoreConfig, StorePlugin):
def search(self, query, max_results=10, timeout=60): def search(self, query, max_results=10, timeout=60):
url = 'http://www.gandalf.com.pl/s/' url = 'http://www.gandalf.com.pl/s/'
values={ values={
'search': query, 'search': query.encode('iso8859_2'),
'dzialx':'11' 'dzialx':'11'
} }