def __init__(self, Universe):#parent="MainCoreWindow", createResultObject = CreateResultObject() self.ResultObject = createResultObject.getObject() #self.luther() BibleConfigFiles = Conf("./modules/biblereader/", "biblereader.conf") self.current_bible = BibleConfigFiles.readVar("biblereader", "standard_bible")#settings.standard_bible self.interpreter(self.current_bible, None) self.ResultObject.Payload.String = None self.SHOW_ANNOTATIONS = BibleConfigFiles.readBooleanVar("biblereader", "show_annotations")#settings.SHOW_ANNOTATIONS self.SHOW_VERSE_NUMBERS = BibleConfigFiles.readBooleanVar("biblereader", "show_verse_numbers") #settings.SHOW_VERSE_NUMBERS #self.history = History("./modules/biblereader/bible_history") #BibleConfigFiles = Conf("biblereader.conf") self.history = History("bible_history", Universe.ConfigFiles) #ConfigFIles #self.conf = Conf("biblereader.conf") self.os_name = platform.uname()[0]
def __init__(self, universe): self.Universe = universe #createResultObject = CreateResultObject() #self.ResultObject = createResultObject.getObject() self.Bituza = Bituza(self.Universe) self.booksDictOT = self.Bituza.booksDictOT() self.booksDictNT = self.Bituza.booksDictNT() self.SwordParser = SwordParser() self.history = History("sword_history", self.Universe.ConfigFiles) ConfigFile = Conf("./modules/sword/", "sword.conf") self.sword_module_name = ConfigFile.readVar("sword", "default_bible") self.language = ConfigFile.readVar("sword", "default_language") dir_path = ConfigFile.readVar("sword", "sword_directory") self.modules_path = dir_path + "/modules/texts/ztext" self.mods_d_path = dir_path + "/mods.d" self.ModsD = ModsD(self.mods_d_path)
def __init__(self): ConfigFile = Conf("./modules/bill/", "bill.conf") self.id = ConfigFile.readVar("personal", "id") self.taxnumber = ConfigFile.readVar("personal", "taxnumber") self.myname = ConfigFile.readVar("personal", "myname") self.mystreet = ConfigFile.readVar("personal", "mystreet") self.mylocation = ConfigFile.readVar("personal", "mylocation") self.mymail = ConfigFile.readVar("personal", "mymail") self.mymobile = ConfigFile.readVar("personal", "mymobile") self.mykonto = ConfigFile.readVar("personal", "mykonto") self.mybank = ConfigFile.readVar("personal", "mybank") self.mybankname = ConfigFile.readVar("personal", "mybankname") self.toname = unicode(ConfigFile.readVar("destination", "toname")) self.tostreet = unicode(ConfigFile.readVar("destination", "tostreet")) self.tolocation = unicode(ConfigFile.readVar("destination", "tolocation")) self.toanrede = unicode(ConfigFile.readVar("destination", "toanrede")) self.latexcommand = unicode(ConfigFile.readVar("system", "latexcommand")) self.latexfolder = unicode(ConfigFile.readVar("system", "latexfolder")) self.pdffolder = unicode(ConfigFile.readVar("system", "pdffolder")) self.datafolder = unicode(ConfigFile.readVar("system", "datafolder")) self.pdfviewer = unicode(ConfigFile.readVar("system", "pdfviewer"))