mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
download: tiny cleanup of history code
This commit is contained in:
parent
10268a4f7f
commit
aa50c30aa2
@ -1190,9 +1190,8 @@ class Downloader(service.MultiService):
|
||||
monitor=Monitor()
|
||||
dl = CiphertextDownloader(self.parent, u.get_verify_cap(), target, monitor=monitor)
|
||||
self._all_downloads[dl] = None
|
||||
s = dl.get_download_status()
|
||||
if history:
|
||||
history.add_download(s)
|
||||
history.add_download(dl.get_download_status())
|
||||
d = dl.start()
|
||||
return d
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user