Fix adding torrents.
This commit is contained in:
parent
4dc601c845
commit
5b5232eddf
|
@ -134,6 +134,7 @@ class TorrentManager:
|
||||||
# joined.
|
# joined.
|
||||||
if type(filedump) is not str:
|
if type(filedump) is not str:
|
||||||
filedump = "".join(chr(b) for b in filedump)
|
filedump = "".join(chr(b) for b in filedump)
|
||||||
|
filedump = lt.bdecode(filedump)
|
||||||
else:
|
else:
|
||||||
# Get the data from the file
|
# Get the data from the file
|
||||||
filedump = self.load_torrent(filename)
|
filedump = self.load_torrent(filename)
|
||||||
|
|
Loading…
Reference in New Issue