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:
Marcos Pinto 2007-10-05 21:22:56 +00:00
parent 24fbfccfb0
commit a90069b5d0

View File

@ -45,7 +45,7 @@ def windows_check():
return False
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):
os.mkdir(CONFIG_DIR)
else: