chore: unbound error fix
This commit is contained in:
+5
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user