chore: add robust os categories file check

This commit is contained in:
DaanSelen
2026-04-01 13:31:56 +02:00
parent 8ae6b728b5
commit c1d9f3751f
+4 -1
View File
@@ -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()
'''