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