mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for unicode issues with image files
This commit is contained in:
parent
46bd600da0
commit
a311b665ba
@ -288,7 +288,8 @@ class WebHandler(BaseHandler):
|
||||
try:
|
||||
if result:
|
||||
# encode result data
|
||||
result = ek.ss(result).encode('utf-8', 'xmlcharrefreplace')
|
||||
try:result = ek.ss(result).encode('utf-8', 'xmlcharrefreplace')
|
||||
except:pass
|
||||
|
||||
# Check JSONP callback
|
||||
jsonp_callback = self.get_argument('callback_func', default=None)
|
||||
|
Loading…
Reference in New Issue
Block a user