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

View File

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