From 4798f8f2b3bfef04236f391c0155de6cf9645583 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sun, 25 Sep 2016 17:09:15 +0300 Subject: [PATCH] Reload 'Completed' ones instead of only 'Error' --- youtube_dl_gui/mainframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl_gui/mainframe.py b/youtube_dl_gui/mainframe.py index 0686d10..e017517 100644 --- a/youtube_dl_gui/mainframe.py +++ b/youtube_dl_gui/mainframe.py @@ -403,7 +403,7 @@ class MainFrame(wx.Frame): def _on_reload(self, event): for index, item in enumerate(self._download_list.get_items()): - if item.stage == "Paused" or item.progress_stats["status"] == "Error": + if item.stage == "Paused" or item.stage == "Completed": item.reset() self._status_list._update_from_item(index, item)