mirror of
https://github.com/moparisthebest/SickRage
synced 2025-01-06 03:18:01 -05:00
Test fix #5 for blank pages
This commit is contained in:
parent
cafdc57b2c
commit
feabf20c8c
@ -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 """
|
||||
|
Loading…
Reference in New Issue
Block a user