mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
use get_default_download_dir() for move torrent pref
This commit is contained in:
parent
10d7f86f6f
commit
3aca2fa33c
@ -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…
x
Reference in New Issue
Block a user