mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 15:38:43 +00:00
Fix addtorrentdialog due to config class changes
This commit is contained in:
parent
e0137b6a4c
commit
35e41e3b17
1 changed files with 16 additions and 16 deletions
|
@ -487,8 +487,8 @@ class AddTorrentDialog(component.Component):
|
|||
|
||||
# Load the 'default_load_path' from the config
|
||||
self.config = ConfigManager("gtkui.conf")
|
||||
if self.config.get("default_load_path") is not None:
|
||||
chooser.set_current_folder(self.config.get("default_load_path"))
|
||||
if self.config["default_load_path"] is not None:
|
||||
chooser.set_current_folder(self.config["default_load_path"])
|
||||
|
||||
# Run the dialog
|
||||
response = chooser.run()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue