mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 13:33:09 +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()
|
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user