Reset loaded data ?

This commit is contained in:
SebClem 2024-04-04 16:55:27 +02:00
parent 188a850035
commit d8c0cd5fda
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50

View File

@ -198,6 +198,7 @@ class ActionModule(ActionBase):
filepath = path.join(root_dir, filename)
if not stop_iter and not failed:
if path.exists(filepath):
loaded_data = {}
failed, err_msg, loaded_data = self._load_files(filepath)
if not failed:
main_hostname = Path(filepath).stem