1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-11-05 17:05:03 -05:00

Testing fix for issue #1113

This commit is contained in:
echel0n 2014-12-13 11:19:13 -08:00
parent 9000dbd10a
commit 2cba62a0e8
2 changed files with 5 additions and 2 deletions

View File

@ -74,7 +74,10 @@ def ss(x):
try:
u_x_encoded = u_x.encode('utf-8', 'replace')
except:
u_x_encoded = x
try:
u_x_encoded = str(x)
except:
u_x_encoded = x
return u_x_encoded

View File

@ -221,7 +221,7 @@ class WebHandler(BaseHandler):
def async_done(self, results):
try:
if results is not None:
if results:
results = ek.ss(results)
self.finish(results)