Преглед изворни кода

get hash return hash

master
Robin Thoni пре 8 година
родитељ
комит
389dfb899d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      torrentfile.py

+ 1
- 1
torrentfile.py Прегледај датотеку

@@ -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…
Откажи
Сачувај