From 561dc052ffccbf860f52170638feac00bd8cd3f0 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 13 Oct 2018 09:39:49 +0200 Subject: [PATCH] Update FootprintWizardBase.py according to recent changes in API --- pcbnew/python/plugins/FootprintWizardBase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/python/plugins/FootprintWizardBase.py b/pcbnew/python/plugins/FootprintWizardBase.py index 8d1860dc1b..44ed20e537 100644 --- a/pcbnew/python/plugins/FootprintWizardBase.py +++ b/pcbnew/python/plugins/FootprintWizardBase.py @@ -136,7 +136,7 @@ class FootprintWizard(pcbnew.FootprintWizardPlugin): self.module.SetValue(self.GetValue()) self.module.SetReference("%s**" % self.GetReferencePrefix()) - fpid = pcbnew.LIB_ID(self.module.GetValue()) # the name in library + fpid = pcbnew.LIB_ID("", self.module.GetValue()) # the lib name (empty) and the name in library self.module.SetFPID(fpid) self.SetModule3DModel() # add a 3D module if specified