Add the root path of the services to python path, not services/.

Get rid of the now useless env.get_services_dir
This commit is contained in:
Marco Pesenti Gritti
2007-03-09 12:32:32 +01:00
parent 810bea6772
commit 2d9a06ec9a
7 changed files with 14 additions and 15 deletions
+4 -3
View File
@@ -3,9 +3,10 @@
import pygtk
pygtk.require('2.0')
import os, sys
import os
import sys
from sugar import env
sys.path.insert(0, env.get_services_dir())
sys.path.insert(0, os.path.join(env.get_data_dir(), 'services/console'))
import console.console
import console