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-29 19:08:41 +0000
commit07d4aff13b8dc68a3df0a2a744ba171b7c80648d (patch)
treeb8085d1e7b4e0e0f00f329090059800464aa6f0a
parent838f9331beafa2072f27fce30d3e3c7d6d729c2b (diff)
downloaddeluge-07d4aff13b8dc68a3df0a2a744ba171b7c80648d.zip
deluge-07d4aff13b8dc68a3df0a2a744ba171b7c80648d.tar.gz
deluge-07d4aff13b8dc68a3df0a2a744ba171b7c80648d.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 48df781..274d14a 100644
--- a/deluge/common.py
+++ b/deluge/common.py
@@ -150,7 +150,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')