mirror of
https://github.com/codex-storage/deluge.git
synced 2025-03-02 20:10:47 +00:00
Fix deluge.common.
This commit is contained in:
parent
58a0506b98
commit
02fe961a8a
@ -67,7 +67,7 @@ def get_config_dir(filename=None):
|
||||
|
||||
def get_default_download_dir():
|
||||
"""Returns the default download directory"""
|
||||
if common.windows_check():
|
||||
if windows_check():
|
||||
return os.path.expanduser("~")
|
||||
else:
|
||||
return os.environ.get("HOME")
|
||||
|
Loading…
x
Reference in New Issue
Block a user