Browse Source

DownloadItem.update_stats: Do not check for duplicates

doc-issue-template
MrS0m30n3 8 years ago
parent
commit
1abb00ab21
1 changed files with 2 additions and 4 deletions
  1. 6
      youtube_dl_gui/downloadmanager.py

6
youtube_dl_gui/downloadmanager.py

@ -159,12 +159,10 @@ class DownloadItem(object):
# Extract extra stuff
if key == "filename":
if stats_dict[key] not in self.filenames:
self.filenames.append(stats_dict[key])
self.filenames.append(stats_dict[key])
if key == "extension":
if stats_dict[key] not in self.extensions:
self.extensions.append(stats_dict[key])
self.extensions.append(stats_dict[key])
if key == "path":
self.path = stats_dict[key]

Loading…
Cancel
Save