summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2011-11-25 13:46:34 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2011-11-25 13:46:34 +0000
commitcade8ee784a5e947d71f94e22a35c07df382b7de (patch)
tree0671861f5f8a782e7dd6d176695bf081c8a3d0e3
parent0d27032c0604198accc216af780ede34bd4e58fc (diff)
downloaddeluge-cade8ee784a5e947d71f94e22a35c07df382b7de.zip
deluge-cade8ee784a5e947d71f94e22a35c07df382b7de.tar.gz
deluge-cade8ee784a5e947d71f94e22a35c07df382b7de.tar.bz2
Change Windows default download path from '~' to '~\Downloads'
-rw-r--r--deluge/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/common.py b/deluge/common.py
index a4bf45a..8467276 100644
--- a/deluge/common.py
+++ b/deluge/common.py
@@ -169,7 +169,7 @@ def get_default_download_dir():
"""
if windows_check():
- return os.path.expanduser("~")
+ return os.path.join(os.path.expanduser("~"), 'Downloads')
else:
from xdg.BaseDirectory import xdg_config_home
userdir_file = os.path.join(xdg_config_home, 'user-dirs.dirs')