From 41ed0036c3dc77961a34005fc7e4494881f0a07f Mon Sep 17 00:00:00 2001 From: Liu Yihua Date: Wed, 26 Oct 2022 02:04:52 +0800 Subject: [PATCH] Fix get_design_path (#1450) Co-authored-by: Mohamed Gaber --- scripts/utils/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/utils/utils.py b/scripts/utils/utils.py index cb60f0573..7932a2e29 100644 --- a/scripts/utils/utils.py +++ b/scripts/utils/utils.py @@ -19,9 +19,9 @@ def get_design_path(design): - path = os.path.abspath(design) + "/" + path = os.path.abspath(design) if not os.path.exists(path): - path = os.path.join(os.getcwd(), f"./designs/{design}/") + path = os.path.join(os.getcwd(), "designs", design) if os.path.exists(path): return path else: