Skip to content

Commit

Permalink
gpodder.model: Remove the "set progress to 1 if it's downloaded" logic
Browse files Browse the repository at this point in the history
This doesn't work for the visual representation
  • Loading branch information
thp committed Oct 26, 2014
1 parent 829ee79 commit c4c0732
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gpodder/model.py
Expand Up @@ -242,9 +242,7 @@ def download(self, progress_callback):

def download_progress(self):
task = self.download_task
if self.state == gpodder.STATE_DOWNLOADED:
return 1.0
elif task is None:
if task is None:
return 0.0
elif not self.downloading:
return 0.0
Expand Down

0 comments on commit c4c0732

Please sign in to comment.