[#2928] [GTKUI] Fix missing name and trackers adding magnets
This commit is contained in:
parent
19fdd2f88c
commit
d8e5cbe689
|
@ -13,6 +13,7 @@ import base64
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
from xml.sax.saxutils import escape as xml_escape
|
from xml.sax.saxutils import escape as xml_escape
|
||||||
|
from xml.sax.saxutils import unescape as xml_unescape
|
||||||
|
|
||||||
import gtk
|
import gtk
|
||||||
from gobject import TYPE_INT64, TYPE_UINT64
|
from gobject import TYPE_INT64, TYPE_UINT64
|
||||||
|
@ -702,7 +703,7 @@ class AddTorrentDialog(component.Component):
|
||||||
row = self.torrent_liststore.get_iter_first()
|
row = self.torrent_liststore.get_iter_first()
|
||||||
while row is not None:
|
while row is not None:
|
||||||
torrent_id = self.torrent_liststore.get_value(row, 0)
|
torrent_id = self.torrent_liststore.get_value(row, 0)
|
||||||
filename = self.torrent_liststore.get_value(row, 2)
|
filename = xml_unescape(self.torrent_liststore.get_value(row, 2))
|
||||||
try:
|
try:
|
||||||
options = self.options[torrent_id]
|
options = self.options[torrent_id]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Reference in New Issue