mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Test fix #5 for blank pages
This commit is contained in:
parent
cafdc57b2c
commit
feabf20c8c
1 changed files with 5 additions and 2 deletions
|
@ -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 a new issue