mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-13 03:38:51 +00:00
Fix adding torrents.
This commit is contained in:
parent
4dc601c845
commit
5b5232eddf
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue