From ffcfc060e9f8cc67950b05682045e533e64ba7f2 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 b3f20109d..06bdd6c90 100644 --- a/deluge/ui/gtkui/addtorrentdialog.py +++ b/deluge/ui/gtkui/addtorrentdialog.py @@ -824,7 +824,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()