fixed Radarr default port and assigned release before call. Fixes #1170

This commit is contained in:
clinton-hall 2017-02-23 12:54:06 +10:30
parent d7370f533f
commit 7d4079432c
4 changed files with 5 additions and 3 deletions

View file

@ -139,6 +139,8 @@ class autoProcessMovie(object):
elif server_responding(baseURL):
if section == "CouchPotato":
release = self.get_release(baseURL, imdbid, download_id)
else:
release = None
else:
logger.error("Server did not respond. Exiting", section)
return [1, "{0}: Failed to post-process - {1} did not respond.".format(section, section)]