X-Git-Url: https://git.mxchange.org/?p=quix0rs-apt-p2p.git;a=blobdiff_plain;f=apt_dht%2FMirrorManager.py;fp=apt_dht%2FMirrorManager.py;h=c41dbe23c8439bda7314794046564c7a1a28940d;hp=8bf197f9d40203749bb4c34ae33938d290e94c51;hb=07893ed1ffd3cdcc1a8b51d0854599d61b2b5fac;hpb=21f93f967869efe321e2162b458aa22fd836da68 diff --git a/apt_dht/MirrorManager.py b/apt_dht/MirrorManager.py index 8bf197f..c41dbe2 100644 --- a/apt_dht/MirrorManager.py +++ b/apt_dht/MirrorManager.py @@ -263,7 +263,7 @@ class MirrorManager: self.updatedFile(url[:-len(ext)], decFile.path) if self.manager: - self.manager.download_complete(hash, url, destFile.path) + self.manager.cached_file(hash, url, destFile.path) else: log.msg("Hashes don't match %s != %s: %s" % (hash.hexexpected(), hash.hexdigest(), url))