1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-03 02:43:12 +00:00

Merge branch 'dev' into 'main'

Add module info JsonCache logging

See merge request wlinator/Racu!23
This commit is contained in:
wlinator 2024-03-25 12:58:51 +00:00
commit 68a4aee6b6

View file

@ -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]