chore: add robust os categories file check
This commit is contained in:
@@ -65,7 +65,10 @@ async def init_connection(credentials: dict) -> meshctrl.Session:
|
|||||||
return session
|
return session
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
|
if not args.oscategories:
|
||||||
local_categories_file = "./os_categories.json"
|
local_categories_file = "./os_categories.json"
|
||||||
|
else:
|
||||||
|
local_categories_file = args.oscategories
|
||||||
|
|
||||||
just_fix_windows_console()
|
just_fix_windows_console()
|
||||||
'''
|
'''
|
||||||
|
|||||||
Reference in New Issue
Block a user