Browse Source

get hash return hash

master
Robin Thoni 8 years ago
parent
commit
389dfb899d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      torrentfile.py

+ 1
- 1
torrentfile.py View File

40
 
40
 
41
     def getHash(self):
41
     def getHash(self):
42
         bencoded = bencode.bencode(self.info)
42
         bencoded = bencode.bencode(self.info)
43
-        return hashlib.sha1(bencoded).hexdigest()
43
+        return hashlib.sha1(bencoded)

Loading…
Cancel
Save