From 5c6cb80dcd28dd9dc8301257faa9ac10d86b9784 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 14 Nov 2024 13:27:01 -0300 Subject: [PATCH] [Fixed] None case for the backslash fixer --- kibot/kicad/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kibot/kicad/config.py b/kibot/kicad/config.py index d10cab8f..023015a1 100644 --- a/kibot/kicad/config.py +++ b/kibot/kicad/config.py @@ -81,6 +81,8 @@ def parse_len_str(val): def fix_windows(name): + if not name: + return name if not os.path.isfile(name): fixed = name.replace('\\', '/') if os.path.isfile(fixed):