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

Test fix #5 for blank pages

This commit is contained in:
echel0n 2014-06-28 23:19:04 -07:00
parent cafdc57b2c
commit feabf20c8c

View File

@ -218,10 +218,13 @@ class MainHandler(RequestHandler):
def get(self, *args, **kwargs):
response = self._dispatch()
self.finish(response)
if response:
self.finish(response)
def post(self, *args, **kwargs):
self._dispatch()
response = self._dispatch()
if response:
self.finish(response)
def robots_txt(self, *args, **kwargs):
""" Keep web crawlers out """