From a070ae78f771e2b023b40cf6d2fceb40bea977d2 Mon Sep 17 00:00:00 2001 From: Olivier Date: Sat, 22 Nov 2025 13:46:50 +0100 Subject: [PATCH] Actualiser scripts/pfSense/pyfrc2g.py --- scripts/pfSense/pyfrc2g.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/pfSense/pyfrc2g.py b/scripts/pfSense/pyfrc2g.py index 885d066..9f58769 100644 --- a/scripts/pfSense/pyfrc2g.py +++ b/scripts/pfSense/pyfrc2g.py @@ -291,4 +291,7 @@ if entries: else: logging.info("Pas de règles crées ou modifiées") else: - logging.info("Le script n'a récupéré aucune règle firewall") \ No newline at end of file + logging.info("Le script n'a récupéré aucune règle firewall") + +if os.path.exists(FICHIER_CSV): + os.remove(FICHIER_CSV) \ No newline at end of file