fix NZBDrone remote path. Fixes #441

thanks @stuartnjohn
This commit is contained in:
Clinton Hall 2014-06-20 11:18:51 +09:30
commit 1c834ef2e8

View file

@ -192,8 +192,10 @@ class autoProcessTV:
headers = {"X-Api-Key": apikey}
params = {'sortKey': 'series.title', 'page': 1, 'pageSize': 1, 'sortDir': 'asc'}
if remote_path:
data = json.dumps({"name": "DownloadedEpisodesScan", "path": remote_path})
logger.debug("remote_path: %s" % (remoteDir(dirName)),section)
data = json.dumps({"name": "DownloadedEpisodesScan", "path": remoteDir(dirName)})
else:
logger.debug("path: %s" % (dirName),section)
data = json.dumps({"name": "DownloadedEpisodesScan", "path": dirName})
logger.debug("Opening URL: %s" % (url),section)