mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Moved main program files
This commit is contained in:
13
app/config.py
Executable file
13
app/config.py
Executable file
@@ -0,0 +1,13 @@
|
||||
class Config:
|
||||
"""Main System Configuration"""
|
||||
def __init__(self):
|
||||
self.book_path = "books/"
|
||||
self.TITLE = "pyShelf E-Book Server"
|
||||
self.book_shelf = "data/shelf.json"
|
||||
# self.catalogue_db = "data/catalogue.db"
|
||||
self.catalogue_db = "../frontend/db.sqlite3"
|
||||
self.file_array = [
|
||||
self.book_shelf,
|
||||
self.catalogue_db,
|
||||
]
|
||||
self.auto_scan = True
|
||||
Reference in New Issue
Block a user