diff options
-rwxr-xr-x | automedia.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/automedia.py b/automedia.py index 9d84a81..4158d44 100755 --- a/automedia.py +++ b/automedia.py @@ -543,11 +543,11 @@ def sync_html(tracked_html, download_dir, session_id): with open(os.path.join(item_dir, ".session_id"), "w") as file: file.write(session_id) - html_update_latest(html_tracked_dir, tracked_html, name, url) - if not plugin_download(plugin_entry, url, item_dir): return latest + html_update_latest(html_tracked_dir, tracked_html, name, url) + latest = name if not only_show_finished_notification: show_notification("Download started", "{}/{}".format(tracked_html.title, name)) |