fix completed field for an item in file list

This commit is contained in:
Jack Robison 2019-05-06 13:39:51 -04:00
parent 4f0e8fce6e
commit 22c701fd50
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -203,7 +203,7 @@ class ManagedStream:
else:
written_bytes = self.written_bytes
return {
'completed': self.finished,
'completed': self.output_file_exists and self.status in ('stopped', 'finished'),
'file_name': self.file_name,
'download_directory': self.download_directory,
'points_paid': 0.0,