Added HTTP server and response

This commit is contained in:
Raelon Masters
2019-10-31 22:14:34 -04:00
parent eb59ac439a
commit ce93050b7f
8 changed files with 133 additions and 16 deletions

View File

@@ -1,13 +1,11 @@
class Config:
"""Main System Configuration"""
def __init__(self):
self.book_path = "books/"
self.book_shelf = "data/shelf.json"
self.catalogue_db = "data/catalogue.db"
self.file_array = [
"data/catalogue.json",
self.book_shelf,
self.catalogue_db,
"conf/settings.json"
]
self.auto_scan = True
"""Main System Configuration"""
def __init__(self):
self.book_path = "/home/raelon/Books/"
self.book_shelf = "data/shelf.json"
self.catalogue_db = "data/catalogue.db"
self.file_array = [
self.book_shelf,
self.catalogue_db,
]
self.auto_scan = True