Fix missed IO_MGR rename in Python

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16669
This commit is contained in:
Ian McInerney 2024-01-19 22:23:04 +00:00
parent 7687f240a2
commit b36a67e556
1 changed files with 2 additions and 2 deletions

View File

@ -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)