mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-21 12:04:51 +00:00
use get_default_download_dir() for move torrent pref
This commit is contained in:
parent
10d7f86f6f
commit
3aca2fa33c
1 changed files with 1 additions and 2 deletions
|
@ -42,7 +42,6 @@ import gettext
|
|||
import locale
|
||||
import pkg_resources
|
||||
import signal
|
||||
import os.path
|
||||
|
||||
import deluge.component as component
|
||||
import deluge.ui.client as client
|
||||
|
@ -95,7 +94,7 @@ DEFAULT_PREFS = {
|
|||
"autoadd_queued": False,
|
||||
"autoadd_enable": False,
|
||||
"autoadd_location": "",
|
||||
"choose_directory_dialog_path": os.path.expanduser("~")
|
||||
"choose_directory_dialog_path": deluge.common.get_default_download_dir()
|
||||
}
|
||||
|
||||
class GtkUI:
|
||||
|
|
Loading…
Add table
Reference in a new issue