Added calls to new config variables

This commit is contained in:
Mike Young
2019-12-01 11:48:28 -05:00
parent a0ae3fda63
commit dd0229ed97

View File

@@ -20,10 +20,13 @@ class Config:
self.TITLE = self.TITLE + " ver " + self.VERSION
self.book_shelf = _data["BOOKSHELF"]
# self.catalogue_db = "data/catalogue.db"
self.catalogue_db = str(root) + "/" + _data["DATABASE"]
# self.catalogue_db = str(root) + "/" + _data["DATABASE"]
self.catalogue_db = _data["DATABASE"]
self.user = _data["USER"]
self.password = _data["PASSWORD"]
self.file_array = [
self.book_shelf,
self.catalogue_db,
# self.catalogue_db,
]
self.root = root
self.auto_scan = True