From 7727cdc23dbab658810153fb9c68328538507857 Mon Sep 17 00:00:00 2001 From: April Date: Sun, 13 Nov 2022 16:50:54 -0700 Subject: [PATCH] Replace broken unicode with fixed character --- recordGenerators/AirportDelays.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recordGenerators/AirportDelays.py b/recordGenerators/AirportDelays.py index 7da8b04..3d2678d 100644 --- a/recordGenerators/AirportDelays.py +++ b/recordGenerators/AirportDelays.py @@ -38,7 +38,7 @@ async def getData(airport): async with s.get(url) as r: data = await r.text() - newData = data[48:-11] + newData = data[48:-11].replace('¿', '-') # Write to i2doc file i2Doc = f'' + '' + newData + f'{airport}'