fix completed field for an item in file list
This commit is contained in:
parent
4f0e8fce6e
commit
22c701fd50
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ class ManagedStream:
|
||||||
else:
|
else:
|
||||||
written_bytes = self.written_bytes
|
written_bytes = self.written_bytes
|
||||||
return {
|
return {
|
||||||
'completed': self.finished,
|
'completed': self.output_file_exists and self.status in ('stopped', 'finished'),
|
||||||
'file_name': self.file_name,
|
'file_name': self.file_name,
|
||||||
'download_directory': self.download_directory,
|
'download_directory': self.download_directory,
|
||||||
'points_paid': 0.0,
|
'points_paid': 0.0,
|
||||||
|
|
Loading…
Reference in a new issue