From 2d5cef3abc752fea7aec899fdf7dc6bc7ede9f25 Mon Sep 17 00:00:00 2001 From: David Maisonave <47364845+David-Maisonave@users.noreply.github.com> Date: Mon, 6 Jan 2025 16:10:15 -0500 Subject: [PATCH] Update ModulesValidate.py --- plugins/RenameFile/ModulesValidate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/RenameFile/ModulesValidate.py b/plugins/RenameFile/ModulesValidate.py index 4de2f3a..7943d4d 100644 --- a/plugins/RenameFile/ModulesValidate.py +++ b/plugins/RenameFile/ModulesValidate.py @@ -9,6 +9,7 @@ # To test, uninstall packages via command line: pip uninstall -y watchdog schedule requests import sys, os, pathlib, platform, traceback # ToDo: Add logic to optionally pull package requirements from requirements.txt file. +# Add logic to report error sys.exit(126) -- 126 (0x7E) ERROR_MOD_NOT_FOUND: The specified module could not be found. def modulesInstalled(moduleNames, install=True, silent=False): retrnValue = True