mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -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:
|
try:
|
||||||
if result:
|
if result:
|
||||||
# encode result data
|
# 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
|
# Check JSONP callback
|
||||||
jsonp_callback = self.get_argument('callback_func', default=None)
|
jsonp_callback = self.get_argument('callback_func', default=None)
|
||||||
|
Loading…
Reference in New Issue
Block a user