Change Windows default download path from '~' to '~\Downloads'

This commit is contained in:
Calum Lind 2011-11-25 13:46:34 +00:00
parent 838f9331be
commit 07d4aff13b
1 changed files with 1 additions and 1 deletions

View File

@ -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')