summaryrefslogtreecommitdiffstats
path: root/tupkg/client
diff options
context:
space:
mode:
Diffstat (limited to 'tupkg/client')
-rwxr-xr-xtupkg/client/tupkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/tupkg/client/tupkg b/tupkg/client/tupkg
index f9980e61..af7d0547 100755
--- a/tupkg/client/tupkg
+++ b/tupkg/client/tupkg
@@ -35,7 +35,7 @@ class ClientFile:
self.makeMd5()
def makeMd5(self):
- md5sum = md5.new()
+ md5sum = md5()
while self.fd.tell() != self.size:
md5sum.update(self.fd.read(1024))
self.md5 = md5sum.hexdigest()