From 58e8a0e56207e8a44526c37eef6962f1d470fc73 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 3 Jan 2013 17:30:45 +0000 Subject: [PATCH] Fix mapped_files error in AddTorrentDialog --- deluge/ui/gtkui/addtorrentdialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/gtkui/addtorrentdialog.py b/deluge/ui/gtkui/addtorrentdialog.py index 7bc4ad036..c90c322f6 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -807,7 +807,7 @@ class AddTorrentDialog(component.Component): # The options, except file renames, we want all the torrents to have options = self.options[model.get_value(row, 0)].copy() - del options["mapped_files"] + options.pop("mapped_files", None) # Set all the torrent options row = model.get_iter_first()