From a90069b5d00694533c768805c3381b8e7c29dd39 Mon Sep 17 00:00:00 2001 From: Marcos Pinto Date: Fri, 5 Oct 2007 21:22:56 +0000 Subject: [PATCH] backslashes should not be needed, since the we're using expanduser in conjunction with specifying a dir ('deluge') after it --- src/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.py b/src/common.py index 3c323a798..a54b48c4a 100644 --- a/src/common.py +++ b/src/common.py @@ -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: