sncf: Avoid some texts
This commit is contained in:
parent
ace077fd68
commit
e40ae4db43
@ -101,6 +101,6 @@ class SNCFWeatherModule:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
yield {
|
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,
|
"icon": SNCFAPI.get_icon,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user