Runs under new structure (fails tests mind - that's next to fix!)

bzr-revno: 211
This commit is contained in:
Martin Thompson 2008-12-10 21:50:05 +00:00
parent 822d3d9a0e
commit cb191abd7c

View File

@ -23,7 +23,7 @@ from PyQt4 import QtGui, QtCore
mypath=os.path.split(os.path.abspath(__file__))[0] mypath=os.path.split(os.path.abspath(__file__))[0]
sys.path.insert(0,(os.path.join(mypath, '..', '..','..'))) sys.path.insert(0,(os.path.join(mypath, '..', '..','..')))
from openlp.theme import Theme from openlp.core.theme import Theme
from openlp.core import Renderer from openlp.core import Renderer
# from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66062 # from http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66062
def whoami(depth=1): def whoami(depth=1):