(path: str)
| 793 | # ─── Main ──────────────────────────────────────────────────────────────────── |
| 794 | |
| 795 | def load_config(path: str): |
| 796 | if path and os.path.exists(path): |
| 797 | with open(path) as f: |
| 798 | CONFIG.update(json.load(f)) |
| 799 | log(f"Config loaded: {path}") |
| 800 | |
| 801 | |
| 802 | def main(): |