Remove delay on manual call

This commit is contained in:
clinton-hall 2013-01-20 22:17:50 -08:00
commit b52984ffea

View file

@ -64,6 +64,10 @@ def process(dirName, nzbName=None, status=0):
protocol = "https://"
else:
protocol = "http://"
# don't delay when we are calling this script manually.
if nzbName == "Manual Run":
delay = 0
if status == 0:
if method == "manage":
command = "manage.update"