Fix for avoiding name clashes between shell and activities when running sugar from the source dir.
This commit is contained in:
parent
4bde802bbd
commit
9dcd28e190
@ -31,7 +31,7 @@ dbus.glib.threads_init()
|
|||||||
|
|
||||||
from sugar.activity import ActivityFactory
|
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])
|
ActivityFactory.start_factory(sys.argv[1], sys.argv[2])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user