mirror of
https://github.com/mewtek/i2ME-Legacy.git
synced 2025-05-11 00:57:31 -05:00
Replace broken unicode with fixed character
This commit is contained in:
parent
175ab43039
commit
7727cdc23d
@ -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'<AirportDelays id="000000000" locationKey="{airport}" isWxScan="0">' + '' + newData + f'<clientKey>{airport}</clientKey></AirportDelays>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user