pull/489/head
Halali 6 years ago
parent 23a7ade8ff
commit d6a383dc9f

@ -878,7 +878,7 @@ def search_missing_subtitles(no):
authorize() authorize()
ref = request.environ['HTTP_REFERER'] ref = request.environ['HTTP_REFERER']
scheduler.add_job(series_download_subtitles, args=[no]) scheduler.add_job(series_download_subtitles, args=[no], next_run_time=datetime.now())
redirect(ref) redirect(ref)
@ -889,7 +889,7 @@ def search_missing_subtitles_movie(no):
authorize() authorize()
ref = request.environ['HTTP_REFERER'] ref = request.environ['HTTP_REFERER']
scheduler.add_job(movies_download_subtitles, args=[no]) scheduler.add_job(movies_download_subtitles, args=[no], next_run_time=datetime.now())
redirect(ref) redirect(ref)
@ -1066,7 +1066,7 @@ def wanted_search_missing_subtitles_list():
authorize() authorize()
ref = request.environ['HTTP_REFERER'] ref = request.environ['HTTP_REFERER']
scheduler.add_job(wanted_search_missing_subtitles) scheduler.add_job(wanted_search_missing_subtitles, next_run_time=datetime.now())
redirect(ref) redirect(ref)

Loading…
Cancel
Save