Fix adding torrents.

This commit is contained in:
Andrew Resch 2007-11-10 06:28:09 +00:00
parent 4dc601c845
commit 5b5232eddf
1 changed files with 1 additions and 0 deletions

View File

@ -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)