From 3c8fc54d7657b915686c634358d6be4ca0b8668a Mon Sep 17 00:00:00 2001 From: DaanSelen Date: Wed, 1 Apr 2026 14:17:39 +0200 Subject: [PATCH] chore: unbound error fix --- meshbook.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/meshbook.py b/meshbook.py index 60e4151..a7644d6 100644 --- a/meshbook.py +++ b/meshbook.py @@ -65,11 +65,6 @@ async def init_connection(credentials: dict) -> meshctrl.Session: return session async def main(): - if not args.oscategories: - local_categories_file = "./os_categories.json" - else: - local_categories_file = args.oscategories - just_fix_windows_console() ''' Main function where the program starts. Place from which all comands originate (eventually). @@ -84,6 +79,11 @@ async def main(): Console.text_color.reset + "MeshBook Version: " + Console.text_color.yellow + str(meshbook_version)) return + if not args.oscategories: + local_categories_file = "./os_categories.json" + else: + local_categories_file = args.oscategories + if not args.meshbook: parser.print_help() return