Fix for avoiding name clashes between shell and activities when running sugar from the source dir.

This commit is contained in:
Tomeu Vizoso 2007-02-03 20:20:32 +01:00
parent 4bde802bbd
commit 9dcd28e190

View File

@ -31,7 +31,7 @@ dbus.glib.threads_init()
from sugar.activity import ActivityFactory
sys.path.append(sys.argv[2])
sys.path.insert(0, sys.argv[2])
ActivityFactory.start_factory(sys.argv[1], sys.argv[2])