Commit 2296ca91 authored by Łukasz Nowak's avatar Łukasz Nowak

Return True on success.

parent f146a207
......@@ -117,8 +117,7 @@ class NetworkcacheClient(object):
raise UploadError('Failed to upload data to SHADIR Server.' \
'URL: %s. Response code: %s. Response data: %s' % \
(self.shacache_host, result.status, data))
return json.loads(data)
return True
def download(self, sha512sum):
''' Download the file.
......
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