From dd6fc4581c4839b5d6adce5f80265b8bbeec3917 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 9 Sep 2023 00:45:58 +0200 Subject: [PATCH] normalize icaos as uppercase --- owrx/aeronautical.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/owrx/aeronautical.py b/owrx/aeronautical.py index 3665ef13..61056c13 100644 --- a/owrx/aeronautical.py +++ b/owrx/aeronautical.py @@ -20,7 +20,7 @@ class AirplaneLocation(LatLngLocation): class IcaoSource(Source): def __init__(self, icao: str, humanReadable: str = None): - self.icao = icao + self.icao = icao.upper() self.humanReadable = humanReadable def getKey(self) -> str: