mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-03 05:23:11 +00:00
Merge branch 'dev' into 'main'
Add module info JsonCache logging See merge request wlinator/Racu!23
This commit is contained in:
commit
68a4aee6b6
1 changed files with 1 additions and 1 deletions
|
@ -13,6 +13,6 @@ class JsonCache:
|
|||
if path not in JsonCache._cache:
|
||||
with open(f"config/JSON/{path}.json", 'r') as file:
|
||||
JsonCache._cache[path] = json.load(file)
|
||||
logs.info(f"{path}.json was loaded and cached.")
|
||||
logs.info(f"[JsonParser] {path}.json was loaded and cached.")
|
||||
|
||||
return JsonCache._cache[path]
|
||||
|
|
Loading…
Reference in a new issue