Skip to content

Commit

Permalink
[Fixed] None case for the backslash fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Nov 14, 2024
1 parent 0c82347 commit 5c6cb80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kibot/kicad/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 5c6cb80

Please sign in to comment.