From 20ab98018f999021f4f9f8925a5a6ef55cd0dbc9 Mon Sep 17 00:00:00 2001 From: Alex Al-Saffar Date: Mon, 8 Apr 2024 13:25:04 +0930 Subject: [PATCH] minor changeS --- src/machineconfig/scripts/python/fire_jobs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/machineconfig/scripts/python/fire_jobs.py b/src/machineconfig/scripts/python/fire_jobs.py index 794b630f..a7e3dcb7 100644 --- a/src/machineconfig/scripts/python/fire_jobs.py +++ b/src/machineconfig/scripts/python/fire_jobs.py @@ -339,6 +339,9 @@ def get_import_module_code(module_path: str): if "-" in module_name or " " in module_name: module_name = "IncorrectModuleName" # TODO: use py_compile to check if the statement is valid code to avoid syntax errors that can't be caught. + print(module_path) + print(module_name) + print("*" * 100) return f"from {module_name} import *"