From 214cf4da27be2c4845df7396aa22efa184b1adc7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 30 Jan 2022 15:18:21 +0000 Subject: Minor error --- weather.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weather.py b/weather.py index f97e511..755f847 100644 --- a/weather.py +++ b/weather.py @@ -35,7 +35,8 @@ class weather_met_no(weather): # sending-user-agent-using-requests-library-in-python # https://api.met.no/doc/FAQ self.HEADERS = {"User-Agent": "TopologicalMap"} - super.__init__() + # Call constructor from superclass + super().__init__() def get_temp(self): # https://docs.python-requests.org/en/latest/ -- cgit v1.2.3