mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added HTTP server and response
This commit is contained in:
22
config.py
22
config.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user