availablesubs: clear task data after download; clear other task data on new request

This commit is contained in:
panni committed 2017-07-24 13:44:03 +02:00
1 parent 80f223e706
commit 4fbdd67255
2 files changed
+7 -4

No files matched your search

+2
View File
@@ -293,4 +293,6 @@ def TriggerDownloadSubtitle(rating_key=None, subtitle_id=None, item_title=None,
else:
scheduler.dispatch_task("DownloadSubtitleForItem", rating_key=rating_key, subtitle=download_subtitle)
scheduler.clear_task_data("AvailableSubsForItem")
return fatality(randomize=timestamp(), header=" ", replace_parent=True)