From 5b5232eddf9746e9921af0cbfbbecf4920fb3163 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 10 Nov 2007 06:28:09 +0000 Subject: [PATCH] Fix adding torrents. --- deluge/core/torrentmanager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index a602b58ec..05cb8027b 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -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)