From d2888a944bda5351ab2f6378c0dc25c1f62b642e Mon Sep 17 00:00:00 2001 From: liyp Date: Wed, 27 Apr 2022 22:26:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Windows=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/BasicUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/BasicUtils.py b/utils/BasicUtils.py index 660da9d..df2513a 100644 --- a/utils/BasicUtils.py +++ b/utils/BasicUtils.py @@ -12,7 +12,7 @@ def return_work_dir(): os.mkdir(work_path) return os.path.expandvars('$HOME') + '/.config/PyQtToDoList/' elif platform.system() == 'Windows': - work_path = os.getcwd() + '/config/' + work_path = os.getcwd() + '/../config/' if not os.path.exists(work_path): os.mkdir(work_path) return work_path