Fix addtorrentdialog due to config class changes

This commit is contained in:
Andrew Resch 2008-11-07 06:49:00 +00:00
parent e0137b6a4c
commit 35e41e3b17
1 changed files with 16 additions and 16 deletions

View File

@ -487,8 +487,8 @@ class AddTorrentDialog(component.Component):
# Load the 'default_load_path' from the config # Load the 'default_load_path' from the config
self.config = ConfigManager("gtkui.conf") self.config = ConfigManager("gtkui.conf")
if self.config.get("default_load_path") is not None: if self.config["default_load_path"] is not None:
chooser.set_current_folder(self.config.get("default_load_path")) chooser.set_current_folder(self.config["default_load_path"])
# Run the dialog # Run the dialog
response = chooser.run() response = chooser.run()