diff --git a/surveillance/arpwatch_sendmail.py b/surveillance/arpwatch_sendmail.py index 149fe0df..c5088296 100755 --- a/surveillance/arpwatch_sendmail.py +++ b/surveillance/arpwatch_sendmail.py @@ -30,7 +30,7 @@ if __name__ == "__main__": import traceback texte += '\n' texte += '\n'.join(traceback.format_exception(sys.exc_type, sys.exc_value, sys.exc_traceback)) - test += '\n-- \narpwatch_sendmail.py\n' + texte += '\n-- \narpwatch_sendmail.py\n' smtp = smtplib.SMTP() smtp.connect() smtp.sendmail("arpwatch@crans.org", "root@crans.org", texte)