Tidy up before the big move

bzr-revno: 185
This commit is contained in:
Tim Bentley 2008-12-05 20:09:47 +00:00
parent c949f98ef2
commit bccd03b4df
2 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ class BibleDBImpl(BibleCommon):
log.info("BibleDB manager loaded")
def __init__(self, biblename, btype = 'sqlite'):
# Connect to database
path = ConfigHelper.getBiblePath()
path = "/home/timali/.openlp.org/Data/Bibles"
#log.debug( path
#log.debug( biblename
self.biblefile = os.path.join(path, biblename+".bible3")

View File

@ -23,7 +23,6 @@ import sys
mypath=os.path.split(os.path.abspath(__file__))[0]
sys.path.insert(0,(os.path.join(mypath, '..', '..', '..')))
from openlp.core.utils import ConfigHelper
from bibleOSISImpl import BibleOSISImpl
from bibleCSVImpl import BibleCSVImpl
from bibleDBImpl import BibleDBImpl
@ -51,7 +50,8 @@ class BibleManager():
log.debug( "Bible Initialising")
self.bibleDBCache = {} # dict of bible database classes
self.bibleHTTPCache = {} # dict of bible http readers
self.biblePath = path #ConfigHelper.getBiblePath()
self.biblePath = path +"/Data/Bibles" #ConfigHelper.getBiblePath()
print self.biblePath
self.dialogobject = None
#log.debug( self.biblePath )
files = os.listdir(self.biblePath)