mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added calls to new config variables
This commit is contained in:
@@ -20,10 +20,13 @@ class Config:
|
|||||||
self.TITLE = self.TITLE + " ver " + self.VERSION
|
self.TITLE = self.TITLE + " ver " + self.VERSION
|
||||||
self.book_shelf = _data["BOOKSHELF"]
|
self.book_shelf = _data["BOOKSHELF"]
|
||||||
# self.catalogue_db = "data/catalogue.db"
|
# 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.file_array = [
|
||||||
self.book_shelf,
|
self.book_shelf,
|
||||||
self.catalogue_db,
|
# self.catalogue_db,
|
||||||
]
|
]
|
||||||
self.root = root
|
self.root = root
|
||||||
self.auto_scan = True
|
self.auto_scan = True
|
||||||
|
|||||||
Reference in New Issue
Block a user