mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Added basic documentation to all backend objects
This commit is contained in:
@@ -32,6 +32,9 @@ class Config:
|
||||
self.auto_scan = True
|
||||
|
||||
def open_file(self, _cp):
|
||||
"""
|
||||
Opens config.json and reads in configuration options
|
||||
"""
|
||||
with open(str(_cp), "r") as read_file:
|
||||
data = json.load(read_file)
|
||||
return data
|
||||
|
||||
Reference in New Issue
Block a user