download: tiny cleanup of history code

This commit is contained in:
Brian Warner 2009-01-14 16:41:51 -07:00
parent 10268a4f7f
commit aa50c30aa2

View File

@ -1190,9 +1190,8 @@ class Downloader(service.MultiService):
monitor=Monitor() monitor=Monitor()
dl = CiphertextDownloader(self.parent, u.get_verify_cap(), target, monitor=monitor) dl = CiphertextDownloader(self.parent, u.get_verify_cap(), target, monitor=monitor)
self._all_downloads[dl] = None self._all_downloads[dl] = None
s = dl.get_download_status()
if history: if history:
history.add_download(s) history.add_download(dl.get_download_status())
d = dl.start() d = dl.start()
return d return d