use get_default_download_dir() for move torrent pref

This commit is contained in:
Marcos Pinto 2008-01-21 22:53:24 +00:00
parent 10d7f86f6f
commit 3aca2fa33c

View File

@ -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: