fixed missing replacement for UNWETTERWARNUNG

master
cheetah 2 years ago
parent 5026844006
commit 7147d53a52

@ -111,6 +111,7 @@ async function checkDWD() {
: 0 : 0
//console.log(msgLevelTrigger, 'is the trigger level for', msgCategory) //console.log(msgLevelTrigger, 'is the trigger level for', msgCategory)
if (msgLevel >= msgLevelTrigger) { } else continue // ignore the stuff we want to ignore if (msgLevel >= msgLevelTrigger) { } else continue // ignore the stuff we want to ignore
msg = msg.replace('DWD UNWETTERWARNUNG:', 'DWD:')
msg = msg.replace('DWD WETTERWARNUNG:', 'DWD:') msg = msg.replace('DWD WETTERWARNUNG:', 'DWD:')
msg = msg.replace(' in ', ' ') msg = msg.replace(' in ', ' ')
msg = msg.replace(' von ', '/') msg = msg.replace(' von ', '/')

Loading…
Cancel
Save