Browse Source

Don't print statistics if successful downloads are 0

doc-issue-template
MrS0m30n3 10 years ago
parent
commit
8209418fa8
1 changed files with 4 additions and 0 deletions
  1. 4
      youtube_dl_gui/YoutubeDLGUI.py

4
youtube_dl_gui/YoutubeDLGUI.py

@ -195,6 +195,10 @@ class MainFrame(wx.Frame):
open_dir(self.opt_manager.options['save_path'])
def fin_message(self):
if self.successful_downloads == 0:
self.status_bar_write('Done')
return
current_time = time()
dtime = get_time(current_time - self.timer)

Loading…
Cancel
Save