From 5e1298f801648204fa62456e86d02bf53f61d1c5 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 18 Dec 2014 16:54:39 -0800 Subject: [PATCH] Fixed sickragetv/sickrage-issues#113 --- sickbeard/webapi.py | 2 +- tornado/web.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/sickbeard/webapi.py b/sickbeard/webapi.py index f0025b2b..d7bf73f3 100644 --- a/sickbeard/webapi.py +++ b/sickbeard/webapi.py @@ -335,7 +335,7 @@ class ApiCall(ApiHandler): if required: try: self._missing - self._requiredParams += [key] + self._requiredParams.append(key) except AttributeError: self._missing = [] self._requiredParams = {key: {"allowedValues": allowedValues, diff --git a/tornado/web.py b/tornado/web.py index c7d503f7..2cb5afad 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -2017,8 +2017,6 @@ class RedirectHandler(RequestHandler): (r"/oldpath", web.RedirectHandler, {"url": "/newpath"}), ]) """ - def __init__(self, *args, **kwargs): - super(RedirectHandler, self).__init__(*args, **kwargs) def initialize(self, url, permanent=True): self._url = url