From: Cameron Dale Date: Sat, 26 Apr 2008 17:01:08 +0000 (-0700) Subject: Fix: no files were added to the DHT due to missing hashing results. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=447642ae26ea03a46aa9a165c6dce94115b07830;p=quix0rs-apt-p2p.git Fix: no files were added to the DHT due to missing hashing results. --- diff --git a/apt_p2p/Hash.py b/apt_p2p/Hash.py index 021c84c..1a037ea 100644 --- a/apt_p2p/Hash.py +++ b/apt_p2p/Hash.py @@ -200,6 +200,7 @@ class HashObject: def verify(self): """Verify that the added file data hash matches the expected hash.""" + self.digest() if self.result is None and self.fileHash is not None and self.expHash is not None: self.result = (self.fileHash == self.expHash and self.size == self.expSize) return self.result