Merge branch '1.3-stable' of deluge-torrent.org:deluge into 1.3-stable

This commit is contained in:
Andrew Resch 2012-03-04 16:41:43 -08:00
commit bb89a355e5
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ class TorrentManager(component.Component):
handle = None handle = None
try: try:
if magnet: if magnet:
handle = lt.add_magnet_uri(self.session, magnet, add_torrent_params) handle = lt.add_magnet_uri(self.session, utf8_encoded(magnet), add_torrent_params)
else: else:
handle = self.session.add_torrent(add_torrent_params) handle = self.session.add_torrent(add_torrent_params)
except RuntimeError, e: except RuntimeError, e: