mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-10-20 08:05:57 -04:00
Txt message cleanup 0.1
This commit is contained in:
1 parent
4d67c25e5a
commit
388370b49d
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user