Skip to content
Snippets Groups Projects
Commit 9ec693c1 authored by Krisjanis Rijnieks's avatar Krisjanis Rijnieks :lion_face:
Browse files

Ignore footprint field if empty

parent 609b96e7
No related branches found
No related tags found
No related merge requests found
......@@ -27,6 +27,9 @@ def checkPartName(partDEFName, partF1Name):
errorOnLine(lineNum, 'Part DEF name and F1 name do not match')
def checkFootprint(lineNum, footprintField):
if footprintField == '':
return
parts = footprintField.split(':')
if parts[0] != libraryName:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment