mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Remove delay on manual call
This commit is contained in:
parent
a749a6531d
commit
b52984ffea
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue