diff --git a/back/pialert.py b/back/pialert.py index 99996cf9..0487b357 100755 --- a/back/pialert.py +++ b/back/pialert.py @@ -3315,7 +3315,7 @@ def get_all_devices(): #------------------------------------------------------------------------------- def removeDuplicateNewLines(text): - if "\n\n" in text: + if "\n\n\n" in text: return removeDuplicateNewLines(text.replace("\n\n\n", "\n\n")) else: return text