Commit 6fde8cb5 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Minor tool fixes

parent ce1e0896
...@@ -185,7 +185,7 @@ class FootPrint: ...@@ -185,7 +185,7 @@ class FootPrint:
def merge(self, path): def merge(self, path):
for p in os.listdir(path): for p in os.listdir(path):
m = re.match('^(.*).kicad_mod', p) m = re.match('^(.*).kicad_mod$', p)
if not m: if not m:
continue continue
name = m.group(1) name = m.group(1)
...@@ -260,7 +260,7 @@ if __name__ == '__main__': ...@@ -260,7 +260,7 @@ if __name__ == '__main__':
pass pass
pass pass
if not ok: if not ok:
print("No match for '%s(%s)' in '%s'" % print("No footprint for '%s(%s)' in '%s'" %
(k, p, lib.defined[k]), file=sys.stderr) (k, p, lib.defined[k]), file=sys.stderr)
pass pass
pass pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment