mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-22 04:24: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.
|
||||
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…
Add table
Reference in a new issue