1
0
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:
echel0n 2014-12-08 07:37:14 -08:00
parent 46bd600da0
commit a311b665ba

View File

@ -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)