1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-24 08:42:37 +00:00

FIX:(#1517) Deluge client would return 'no module named bencode' error upon checking hash

This commit is contained in:
evilhero 2017-01-02 20:38:52 -05:00
parent 49508e4944
commit da454bd2f9

View file

@ -158,7 +158,8 @@ class TorrentClient(object):
def get_the_hash(self, filepath):
import hashlib, StringIO, bencode
import hashlib, StringIO
from mylar import bencode
# Open torrent file
torrent_file = open(filepath, "rb")