Browse Source

Fix missed IO_MGR rename in Python

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16669
newinvert
Ian McInerney 2 years ago
parent
commit
b36a67e556
  1. 4
      pcbnew/python/swig/footprint.i

4
pcbnew/python/swig/footprint.i

@ -142,8 +142,8 @@
%pythoncode
%{
def GetPluginForPath(libname):
plugin_type = IO_MGR.GuessPluginTypeFromLibPath( libname );
return IO_MGR.PluginFind(plugin_type)
plugin_type = PCB_IO_MGR.GuessPluginTypeFromLibPath( libname );
return PCB_IO_MGR.PluginFind(plugin_type)
def FootprintEnumerate(libname):
plug = GetPluginForPath(libname)

Loading…
Cancel
Save