Fixed bug in autoProcessMovie that was causing failed downloads not to choose next release for snatch.

This commit is contained in:
echel0n 2014-04-14 13:45:59 -07:00
commit 7904330613

View file

@ -232,12 +232,11 @@ class autoProcessMovie:
logger.error("Exiting autoProcessMovie script")
return 1 # failure
url = baseURL + "movie.searcher.try_next/?media_id=" + media_id
url = baseURL + "/movie.searcher.try_next"
logger.debug("Opening URL: %s", url)
try:
r = requests.get(url, stream=True)
r = requests.get(url, params={'media_id':media_id}, stream=True)
except requests.ConnectionError:
logger.error("Unable to open URL")
return 1 # failure