diff options
| -rw-r--r-- | weather.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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/ |
