mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 03:22:22 -05:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
4dc20f2d99
@ -235,7 +235,9 @@ class MainHandler(RequestHandler):
|
|||||||
func = getattr(klass, 'index', None)
|
func = getattr(klass, 'index', None)
|
||||||
|
|
||||||
if callable(func):
|
if callable(func):
|
||||||
return func(**args)
|
out = func(**args)
|
||||||
|
self._headers = klass._headers
|
||||||
|
return out
|
||||||
|
|
||||||
raise HTTPError(404)
|
raise HTTPError(404)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user