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