From 9ec693c1e7bac0b749fb58fe98b5a83cd141346d Mon Sep 17 00:00:00 2001
From: Krisjanis Rijnieks <krisjanis.rijnieks@gmail.com>
Date: Mon, 4 May 2020 19:42:43 +0300
Subject: [PATCH] Ignore footprint field if empty

---
 test.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/test.py b/test.py
index 3a2e967..743f2d3 100644
--- a/test.py
+++ b/test.py
@@ -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:
-- 
GitLab