From ea9ef7c75a5da2cb1acb9224fc670c4b128098fe Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Mon, 6 Sep 2021 15:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A0=E6=AD=A3mkdir=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: a1012112796 <1012112796@qq.com> --- sharelib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sharelib.py b/sharelib.py index 64a7ff5..e883733 100644 --- a/sharelib.py +++ b/sharelib.py @@ -193,7 +193,8 @@ class SharelibHandler: if os.path.exists(dist_path): shutil.rmtree(dist_path) - os.mkdir(dist_path) + print("dist_path: " + dist_path) + os.makedirs(dist_path) for item in self._items: if item._group == '':