From 0093ad27c6b3dfb179fed3818327842e50aa6f1a Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Mon, 27 Jan 2014 11:28:01 +1030 Subject: [PATCH] make naming consistent. fixes #247 --- autoProcess/autoProcessTV.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoProcess/autoProcessTV.py b/autoProcess/autoProcessTV.py index a5c1e432..be1ced47 100644 --- a/autoProcess/autoProcessTV.py +++ b/autoProcess/autoProcessTV.py @@ -99,9 +99,9 @@ def processEpisode(dirName, nzbName=None, failed=False, inputCategory=None): try: wait_for = int(config.get(section, "wait_for")) except (ConfigParser.NoOptionError, ValueError): - waitfor = 5 + wait_for = 5 - TimeOut = 60 * int(waitfor) # SickBeard needs to complete all moving and renaming before returning the log sequence via url. + TimeOut = 60 * int(wait_for) # SickBeard needs to complete all moving and renaming before returning the log sequence via url. socket.setdefaulttimeout(int(TimeOut)) #initialize socket timeout. mediaContainer = (config.get("Extensions", "mediaExtensions")).split(',')