1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Corrected self.finish to self.write

This commit is contained in:
echel0n 2014-06-29 18:57:02 -07:00
parent 6ce68e3d97
commit 145433e19a

View File

@ -165,7 +165,7 @@ class MainHandler(RequestHandler):
def write_error(self, status_code, **kwargs):
if status_code == 401:
self.finish(self.http_error_401_handler())
self.write(self.http_error_401_handler())
elif status_code == 404:
redirect('/home/')
else: