Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 49095975a3 | |||
| 3c8fc54d76 | |||
| c1d9f3751f | |||
| 8ae6b728b5 | |||
| 1006b965ed | |||
| e710dadfcd |
+5
-2
@@ -65,8 +65,6 @@ async def init_connection(credentials: dict) -> meshctrl.Session:
|
|||||||
return session
|
return session
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
local_categories_file = "./os_categories.json"
|
|
||||||
|
|
||||||
just_fix_windows_console()
|
just_fix_windows_console()
|
||||||
'''
|
'''
|
||||||
Main function where the program starts. Place from which all comands originate (eventually).
|
Main function where the program starts. Place from which all comands originate (eventually).
|
||||||
@@ -81,6 +79,11 @@ async def main():
|
|||||||
Console.text_color.reset + "MeshBook Version: " + Console.text_color.yellow + str(meshbook_version))
|
Console.text_color.reset + "MeshBook Version: " + Console.text_color.yellow + str(meshbook_version))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if not args.oscategories:
|
||||||
|
local_categories_file = "./os_categories.json"
|
||||||
|
else:
|
||||||
|
local_categories_file = args.oscategories
|
||||||
|
|
||||||
if not args.meshbook:
|
if not args.meshbook:
|
||||||
parser.print_help()
|
parser.print_help()
|
||||||
return
|
return
|
||||||
|
|||||||
+1
-1
@@ -45,4 +45,4 @@ class History():
|
|||||||
stitched_file = f"{self.history_directory}/meshbook_run_{datetime.now().strftime('%Y_%m_%d_%H_%M_%S')}.log"
|
stitched_file = f"{self.history_directory}/meshbook_run_{datetime.now().strftime('%Y_%m_%d_%H_%M_%S')}.log"
|
||||||
|
|
||||||
with open(stitched_file, "x") as f:
|
with open(stitched_file, "x") as f:
|
||||||
f.write(history + "\n")
|
f.write(history)
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"Linux": {
|
"Linux": {
|
||||||
"Debian": [
|
"Debian": [
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
colorama==0.4.6
|
colorama==0.4.6
|
||||||
pyyaml==6.0.3
|
pyyaml==6.0.3
|
||||||
libmeshctrl==1.3.2
|
libmeshctrl==1.3.3
|
||||||
pyotp==2.9.0
|
pyotp==2.9.0
|
||||||
|
|||||||
Reference in New Issue
Block a user