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" );
|
path_frag = wxT( "/usr/local/kicad/bin/scripting/plugins" );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pcbnewInitPythonScripting( TO_UTF8( path_frag ) );
|
if( ! pcbnewInitPythonScripting( TO_UTF8( path_frag ) ) )
|
||||||
|
|
||||||
if( !IsWxPythonLoaded() )
|
|
||||||
{
|
{
|
||||||
wxLogError( wxT( "pcbnewInitPythonScripting() failed." ) );
|
wxLogError( wxT( "pcbnewInitPythonScripting() failed." ) );
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue