From ca2d1c899fb5fa0a67c7d8e95cd2b90dc6f1bb89 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Thu, 23 Dec 2021 13:18:38 +0100 Subject: [PATCH] Fix converting to Unix LF --- OOMAnalyser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OOMAnalyser.py b/OOMAnalyser.py index dbe27fb..bc6229d 100644 --- a/OOMAnalyser.py +++ b/OOMAnalyser.py @@ -562,7 +562,7 @@ class OOMEntity: def __init__(self, text): # use Unix LF only - text = text.replace('\r\n', '\r') + text = text.replace('\r\n', '\n') text = text.strip() oom_lines = text.split('\n')