866df1c
--- vegastrike-source-0.5.0/src/python/init.cpp.orig	2008-04-26 12:00:00.000000000 +0200
866df1c
+++ vegastrike-source-0.5.0/src/python/init.cpp	2008-05-02 13:09:08.000000000 +0200
866df1c
@@ -235,7 +235,6 @@ void Python::initpaths(){
03a8bd2
   // Find all the mods dir (ignore homedir)
03a8bd2
   for( int i=1; i
03a8bd2
   {
866df1c
-	  modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +moduledir+ PATHSEP "builtin\",";
866df1c
 	  modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +moduledir+"\",";
866df1c
 	  modpaths += "r\""+VSFileSystem::Rootdir[i]+ PATHSEP +basesdir+"\"";
03a8bd2
 	  if( i+1
866df1c
@@ -246,7 +245,7 @@ void Python::initpaths(){
03a8bd2
   while ((backslash=modpaths.find("\\"))!=std::string::npos) {
03a8bd2
      modpaths[backslash]='/';
03a8bd2
      }*/
03a8bd2
-   std::string changepath ("import sys\nprint sys.path\nsys.path = ["+modpaths+"]\n");
03a8bd2
+   std::string changepath ("import sys\nprint sys.path\nsys.path += ["+modpaths+"]\n");
03a8bd2
   /*
03a8bd2
    std::string changepath ("import sys\nprint sys.path\nsys.path = ["
03a8bd2
 			  "\""+VSFileSystem::datadir+DELIMSTR"modules"DELIMSTR"builtin\""