forked from Icycoide/searxng
Fix acgsou encoding error on python2 and add unicode characters to unit testt
This commit is contained in:
parent
5897343ab2
commit
059c2ccb95
2 changed files with 7 additions and 6 deletions
|
@ -63,7 +63,7 @@ def response(resp):
|
|||
except:
|
||||
pass
|
||||
# I didn't add download/seed/leech count since as I figured out they are generated randomly everytime
|
||||
content = 'Category: "{category}".'
|
||||
content = u'Category: "{category}".'
|
||||
content = content.format(category=category)
|
||||
|
||||
results.append({'url': href,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue