mirror of
https://github.com/hacs/default.git
synced 2025-08-11 14:37:42 +00:00
13 lines
293 B
Python
13 lines
293 B
Python
import json
|
|
import os
|
|
from glob import glob
|
|
from scripts.helpers.integration_path import get_integration_path
|
|
|
|
|
|
def get_manifest():
|
|
manifest = f"{get_integration_path()}/manifest.json"
|
|
with open(manifest, "r") as mf:
|
|
manifest = json.loads(mf.read())
|
|
|
|
return manifest or {}
|