fix list indices errors when no fork set. Fixes #1191

This commit is contained in:
clinton-hall 2017-02-12 12:01:48 +10:30
commit e0594a6e51

View file

@ -66,7 +66,7 @@ class autoProcessTV(object):
if not username and not apikey:
logger.info('No SickBeard username or Sonarr apikey entered. Performing transcoder functions only')
fork, fork_params = "None", []
fork, fork_params = "None", {}
elif server_responding("{0}{1}:{2}{3}".format(protocol, host, port, web_root)):
# auto-detect correct fork
fork, fork_params = autoFork(section, inputCategory)