only pass watch_dir when manual or remote system. fixes #255

This commit is contained in:
clinton-hall 2014-02-21 19:16:22 +10:30
parent 74b5cb31d0
commit e86a3caae0

View file

@ -154,7 +154,7 @@ def processEpisode(dirName, nzbName=None, failed=False, clientAgent=None, inputC
status = int(1) status = int(1)
failed = True failed = True
if watch_dir != "": if watch_dir != "" and (not host in ['localhost', '127.0.0.1'] or nzbName == "Manual Run"):
dirName = watch_dir dirName = watch_dir
params = {} params = {}