Browse Source

get hash return hash

master
Robin Thoni 9 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,4 +40,4 @@ class TorrentFile:
40 40
 
41 41
     def getHash(self):
42 42
         bencoded = bencode.bencode(self.info)
43
-        return hashlib.sha1(bencoded).hexdigest()
43
+        return hashlib.sha1(bencoded)

Loading…
Cancel
Save