From e34c5570293922de3566d2508ee29935f95a9335 Mon Sep 17 00:00:00 2001 From: Michel Blockelet Date: Sat, 26 Nov 2011 23:57:30 +0100 Subject: [PATCH] [arpwatch_sendmail.py] On n'a plus besoin de decoder il semblerait Ignore-this: b3aadc6ac2b7db5aab2315cefe8416f Je me disais bien qu'il ne se passait plus grand-chose sur arpwatch darcs-hash:20111126225730-ddb99-e215d70be054d56d87a980c79e7d4ec7cff6827d.gz --- surveillance/arpwatch_sendmail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/surveillance/arpwatch_sendmail.py b/surveillance/arpwatch_sendmail.py index 058e9714..ac7a8f85 100644 --- a/surveillance/arpwatch_sendmail.py +++ b/surveillance/arpwatch_sendmail.py @@ -20,7 +20,7 @@ def get_machine(unformated_mac): if __name__ == "__main__": - texte = sys.stdin.read().decode('ISO-8859-15') + texte = sys.stdin.read() #.decode('ISO-8859-15') textes = texte.splitlines(True) i = textes.index(u'\n') textes[i-1:i-1] = [