Commit d629e039 authored by Łukasz Nowak's avatar Łukasz Nowak

Fix small bug with exposing wrong object.

Rest of file requires hexdigested file.
parent 8aaeacbf
......@@ -76,7 +76,8 @@ class NetworkcacheClient(object):
if not d:
break
sha512sum.update(d)
path = os.path.join(self.shacache_path, sha512sum.hexdigest())
sha512sum = sha512sum.hexdigest()
path = os.path.join(self.shacache_path, sha512sum)
file_descriptor.seek(0)
shacache_connection = httplib.HTTPConnection(self.shacache_host,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment