--- vegastrike-0.4.3/src/python/init.cpp~ 2007-04-23 20:30:02.000000000 +0200
+++ vegastrike-0.4.3/src/python/init.cpp 2007-04-23 20:30:02.000000000 +0200
@@ -226,7 +226,6 @@
// Find all the mods dir (ignore homedir)
for( int i=1; i
{
- modpaths += "r\""+VSFileSystem::Rootdir[i]+"/modules/builtin/\",";
modpaths += "r\""+VSFileSystem::Rootdir[i]+"/"+moduledir+"/\",";
modpaths += "r\""+VSFileSystem::Rootdir[i]+"/"+basesdir+"/\"";
if( i+1
@@ -237,7 +236,7 @@
while ((backslash=modpaths.find("\\"))!=std::string::npos) {
modpaths[backslash]='/';
}*/
- std::string changepath ("import sys\nprint sys.path\nsys.path = ["+modpaths+"]\n");
+ std::string changepath ("import sys\nprint sys.path\nsys.path += ["+modpaths+"]\n");
/*
std::string changepath ("import sys\nprint sys.path\nsys.path = ["
"\""+VSFileSystem::datadir+DELIMSTR"modules"DELIMSTR"builtin\""