From df253e1cd8688a07cecfd3e0c0ef486cc367566a Mon Sep 17 00:00:00 2001 From: Giant Spook <giantspook@gmail.com> Date: Wed, 28 Mar 2012 21:11:48 -0700 Subject: [PATCH] What is this madness? --- sickbeard/webapi.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sickbeard/webapi.py b/sickbeard/webapi.py index 5154cd85d..6fda8f103 100644 --- a/sickbeard/webapi.py +++ b/sickbeard/webapi.py @@ -474,11 +474,7 @@ class TVDBShorthandWrapper(ApiCall): def run(self): """ internal function wrapper """ - # how to add a var to a tuple - # http://stackoverflow.com/questions/1380860/add-variables-to-tuple - argstmp = (0, self.sid) # make a new tuple - args = argstmp + self.origArgs # add both - args = args[1:] # remove first fake element + args = (self.sid,) + self.origArgs if self.e: return CMD_Episode(args, self.kwargs).run() elif self.s: -- GitLab