diff --git a/DataAnalyser.py b/DataAnalyser.py index e6a08f9c86900a5c856ae538a2e295c8588ce4d7..781a60f68f0717ea38cc35aaaff972275be80617 100644 --- a/DataAnalyser.py +++ b/DataAnalyser.py @@ -134,7 +134,7 @@ class DataAnalyser(DataHandler): weatherRaw = tableRow.find("td").string return re.sub("\n", "", tableRow.find("td").string) - raise Exception("No weather entry found") # TODO: Use correct exception type + raise KeyError("No weather entry found") def filterForRainSessions(self, sessions: list[Session]): """