mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 23:48:40 +00:00
Change Windows default download path from '~' to '~\Downloads'
This commit is contained in:
parent
0d27032c06
commit
cade8ee784
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ def get_default_download_dir():
|
||||||
|
|
||||||
"""
|
"""
|
||||||
if windows_check():
|
if windows_check():
|
||||||
return os.path.expanduser("~")
|
return os.path.join(os.path.expanduser("~"), 'Downloads')
|
||||||
else:
|
else:
|
||||||
from xdg.BaseDirectory import xdg_config_home
|
from xdg.BaseDirectory import xdg_config_home
|
||||||
userdir_file = os.path.join(xdg_config_home, 'user-dirs.dirs')
|
userdir_file = os.path.join(xdg_config_home, 'user-dirs.dirs')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue