sncf: Avoid some texts

This commit is contained in:
nemunaire 2022-08-19 16:59:10 +02:00
parent ace077fd68
commit e40ae4db43

View File

@ -101,6 +101,6 @@ class SNCFWeatherModule:
continue
yield {
"description": re.sub(SNCFAPI.CLEANR, '\n', alert["content"]).strip(),
"description": re.sub(SNCFAPI.CLEANR, '\n', alert["content"]).replace('Restez informés sur le fil', '').replace('Twitter @train_nomad', '').strip(),
"icon": SNCFAPI.get_icon,
}