Correct SWIG path

Don't offset from executable, this is an absolute path

Fixes https://gitlab.com/kicad/code/kicad/issues/7089
This commit is contained in:
Seth Hillbrand 2021-01-13 12:33:35 -08:00
parent 2d64613bbb
commit b57ad4b2f9
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ wxString PyScriptingPath( bool aUserPath )
#if defined( __WXMAC__ )
path = GetOSXKicadDataDir() + wxT( "/scripting" );
#else
path = Pgm().GetExecutablePath() + KICAD_DATA + wxS( "/scripting" );
path = KICAD_DATA + wxS( "/scripting" );
#endif
}
}