mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-19 19:14:55 +00:00
Fix adding magnet error in webui when started from classic mode
This commit is contained in:
parent
911d583ff0
commit
9ce738e39a
1 changed files with 1 additions and 1 deletions
|
@ -448,7 +448,7 @@ class TorrentManager(component.Component):
|
|||
handle = None
|
||||
try:
|
||||
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:
|
||||
handle = self.session.add_torrent(add_torrent_params)
|
||||
except RuntimeError, e:
|
||||
|
|
Loading…
Add table
Reference in a new issue