forked from openlp/openlp
renamed files to fit with the naming style
bzr-revno: 137
This commit is contained in:
parent
c746f2434e
commit
263df5274a
@ -21,8 +21,8 @@ import urllib2
|
|||||||
|
|
||||||
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.plugins.biblemanager.BibleDBImpl import BibleDBImpl
|
from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl
|
||||||
from openlp.plugins.biblemanager.BibleCommon import BibleCommon
|
from openlp.plugins.biblemanager.bibleCommon import BibleCommon
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
@ -28,8 +28,8 @@ from sqlalchemy.orm import sessionmaker, mapper
|
|||||||
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.plugins.biblemanager.BibleCommon import BibleCommon
|
from openlp.plugins.biblemanager.bibleCommon import BibleCommon
|
||||||
from openlp.utils import ConfigHelper
|
from openlp.core.utils import ConfigHelper
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
@ -22,7 +22,7 @@ import urllib2
|
|||||||
|
|
||||||
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.plugins.biblemanager.BibleCommon import BibleCommon
|
from openlp.plugins.biblemanager.bibleCommon import BibleCommon
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
@ -21,12 +21,12 @@ import sys
|
|||||||
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.utils import ConfigHelper
|
from openlp.core.utils import ConfigHelper
|
||||||
from openlp.plugins.biblemanager.BibleOSISImpl import BibleOSISImpl
|
from openlp.plugins.biblemanager.bibleOSISImpl import BibleOSISImpl
|
||||||
from openlp.plugins.biblemanager.BibleCSVImpl import BibleCSVImpl
|
from openlp.plugins.biblemanager.bibleCSVImpl import BibleCSVImpl
|
||||||
from openlp.plugins.biblemanager.BibleDBImpl import BibleDBImpl
|
from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl
|
||||||
from openlp.plugins.biblemanager.BibleHTTPImpl import BibleHTTPImpl
|
from openlp.plugins.biblemanager.bibleHTTPImpl import BibleHTTPImpl
|
||||||
from openlp.plugins.biblemanager.BibleLibrary import BibleLibrary
|
#from openlp.plugins.biblemanager.bibleLibrary import BibleLibrary
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
||||||
@ -51,7 +51,7 @@ class BibleManager():
|
|||||||
self.bibleDBCache = {} # dict of bible database classes
|
self.bibleDBCache = {} # dict of bible database classes
|
||||||
self.bibleHTTPCache = {} # dict of bible http readers
|
self.bibleHTTPCache = {} # dict of bible http readers
|
||||||
self.biblePath = ConfigHelper.getBiblePath()
|
self.biblePath = ConfigHelper.getBiblePath()
|
||||||
self.bibleLibrary = BibleLibrary()
|
#self.bibleLibrary = BibleLibrary()
|
||||||
#log.debug( self.biblePath )
|
#log.debug( self.biblePath )
|
||||||
files = os.listdir(self.biblePath)
|
files = os.listdir(self.biblePath)
|
||||||
for f in files:
|
for f in files:
|
@ -21,7 +21,7 @@ import urllib2
|
|||||||
|
|
||||||
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.plugins.biblemanager.BibleDBImpl import BibleDBImpl
|
from openlp.plugins.biblemanager.bibleDBImpl import BibleDBImpl
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
logging.basicConfig(level=logging.DEBUG,
|
logging.basicConfig(level=logging.DEBUG,
|
Loading…
Reference in New Issue
Block a user