Pcbnew: remove erroneous warning message when starting pcbnew if scripting mode is enabled and wxpython disabled
This commit is contained in:
parent
ca27eeb5c7
commit
6ec3d891d4
|
@ -286,9 +286,7 @@ static bool scriptingSetup()
|
|||
path_frag = wxT( "/usr/local/kicad/bin/scripting/plugins" );
|
||||
#endif
|
||||
|
||||
pcbnewInitPythonScripting( TO_UTF8( path_frag ) );
|
||||
|
||||
if( !IsWxPythonLoaded() )
|
||||
if( ! pcbnewInitPythonScripting( TO_UTF8( path_frag ) ) )
|
||||
{
|
||||
wxLogError( wxT( "pcbnewInitPythonScripting() failed." ) );
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue