mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-19 14:54:21 +00:00
backslashes should not be needed, since the we're using expanduser in conjunction with specifying a dir ('deluge') after it
This commit is contained in:
parent
24fbfccfb0
commit
a90069b5d0
@ -45,7 +45,7 @@ def windows_check():
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if windows_check():
|
if windows_check():
|
||||||
CONFIG_DIR = os.path.join(os.path.expanduser("~\\"), 'deluge')
|
CONFIG_DIR = os.path.join(os.path.expanduser("~"), 'deluge')
|
||||||
if not os.path.exists(CONFIG_DIR):
|
if not os.path.exists(CONFIG_DIR):
|
||||||
os.mkdir(CONFIG_DIR)
|
os.mkdir(CONFIG_DIR)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user