1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00
This commit is contained in:
echel0n 2014-12-18 16:54:39 -08:00
parent 417ffbf22c
commit 5e1298f801
2 changed files with 1 additions and 3 deletions

View File

@ -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,

View File

@ -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