mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-04 07:28:39 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue