From aae81f053aa541b4fe29700578462421c536d3c8 Mon Sep 17 00:00:00 2001 From: DefinetlyNotAI Date: Tue, 24 Sep 2024 14:12:00 +0400 Subject: [PATCH] Formatted and --dev CREATE THE LOG_REPO AFTER GETTING DeBUG AND OTHER LOG --- CODE/Logicytics.py | 2 ++ CODE/__lib_class.py | 4 +++- CODE/config.json | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CODE/Logicytics.py b/CODE/Logicytics.py index 9bffe8a..7dd9b85 100644 --- a/CODE/Logicytics.py +++ b/CODE/Logicytics.py @@ -168,6 +168,7 @@ def special_run(file_path: str): # Check weather to use threading or not, as well as execute code if action == "threaded": + def threaded_execution(execution_list_thread, index_thread): try: thread_log = Execute().file(execution_list_thread, index_thread) @@ -178,6 +179,7 @@ def threaded_execution(execution_list_thread, index_thread): log.error(f"Error in thread: {err}") except Exception as err: log.error(f"Error in thread: {err}") + threads = [] for index, file in enumerate(execution_list): thread = threading.Thread( diff --git a/CODE/__lib_class.py b/CODE/__lib_class.py index 006919d..37dbbaa 100644 --- a/CODE/__lib_class.py +++ b/CODE/__lib_class.py @@ -376,7 +376,9 @@ def sys_internal_zip(): elif ignore_file: if __name__ == "__main__": - Log(debug=DEBUG).debug("Found .sys.ignore file, skipping SysInternal_Suite zip extraction") + Log(debug=DEBUG).debug( + "Found .sys.ignore file, skipping SysInternal_Suite zip extraction" + ) except Exception as err: exit(f"Failed to unzip SysInternal_Suite: {err}") diff --git a/CODE/config.json b/CODE/config.json index 44431de..989f529 100644 --- a/CODE/config.json +++ b/CODE/config.json @@ -2,7 +2,7 @@ "WEBHOOK URL": "IGNORE ME FOR NOW", "ipgeolocation.io API KEY": "OPTIONAL - ADD A KEY", "DEBUG": false, - "VERSION": "2.3.0", + "VERSION": "2.3.1", "CURRENT_FILES": [ "browser_miner.ps1", "driverquery+sysinfo.py",