download status: fix bug from me committing the wrong one of François's #1172 patches, fixes #1172

This commit is contained in:
Zooko O'Whielacronx 2010-09-02 09:15:41 -07:00
parent 485bfc0fd6
commit 63fb687a44

View File

@ -207,7 +207,8 @@ class DownloadStatus:
# a download is considered active if it has at least one outstanding
# read() call
for r_ev in self.read_events:
if r_ev["finish_time"] is None:
(ign1, ign2, ign3, finishtime, ign4, ign5, ign6) = r_ev
if finishtime is None:
return True
return False