mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 11:02:21 -05:00
This commit is contained in:
parent
417ffbf22c
commit
5e1298f801
@ -335,7 +335,7 @@ class ApiCall(ApiHandler):
|
|||||||
if required:
|
if required:
|
||||||
try:
|
try:
|
||||||
self._missing
|
self._missing
|
||||||
self._requiredParams += [key]
|
self._requiredParams.append(key)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
self._missing = []
|
self._missing = []
|
||||||
self._requiredParams = {key: {"allowedValues": allowedValues,
|
self._requiredParams = {key: {"allowedValues": allowedValues,
|
||||||
|
@ -2017,8 +2017,6 @@ class RedirectHandler(RequestHandler):
|
|||||||
(r"/oldpath", web.RedirectHandler, {"url": "/newpath"}),
|
(r"/oldpath", web.RedirectHandler, {"url": "/newpath"}),
|
||||||
])
|
])
|
||||||
"""
|
"""
|
||||||
def __init__(self, *args, **kwargs):
|
|
||||||
super(RedirectHandler, self).__init__(*args, **kwargs)
|
|
||||||
|
|
||||||
def initialize(self, url, permanent=True):
|
def initialize(self, url, permanent=True):
|
||||||
self._url = url
|
self._url = url
|
||||||
|
Loading…
Reference in New Issue
Block a user