mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
Fix for TypeError: write()
This commit is contained in:
parent
0c57676aed
commit
b3d46f77e9
@ -220,7 +220,9 @@ class MainHandler(RequestHandler):
|
||||
self.redirect(url)
|
||||
|
||||
def get(self, *args, **kwargs):
|
||||
self.write(self._dispatch())
|
||||
response = self._dispatch()
|
||||
if response:
|
||||
self.write(response)
|
||||
|
||||
def post(self, *args, **kwargs):
|
||||
self._dispatch()
|
||||
|
Loading…
Reference in New Issue
Block a user