mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
basic documentation
This commit is contained in:
@@ -12,6 +12,9 @@ class Config:
|
||||
_fp = "config.json"
|
||||
|
||||
def __init__(self, root):
|
||||
"""
|
||||
Initialize main configuration options
|
||||
"""
|
||||
_cp = pathlib.Path.joinpath(root, self._fp)
|
||||
_data = self.open_file(_cp)
|
||||
self.book_path = _data["BOOKPATH"]
|
||||
|
||||
Reference in New Issue
Block a user