From c1d9f3751f4284d0fb79f91252a514afb60354f8 Mon Sep 17 00:00:00 2001 From: DaanSelen Date: Wed, 1 Apr 2026 13:31:56 +0200 Subject: [PATCH] chore: add robust os categories file check --- meshbook.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meshbook.py b/meshbook.py index a97adf2..60e4151 100644 --- a/meshbook.py +++ b/meshbook.py @@ -65,7 +65,10 @@ async def init_connection(credentials: dict) -> meshctrl.Session: return session async def main(): - local_categories_file = "./os_categories.json" + if not args.oscategories: + local_categories_file = "./os_categories.json" + else: + local_categories_file = args.oscategories just_fix_windows_console() '''