summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@turin.home>2022-01-30 15:18:21 +0000
committerroot <root@turin.home>2022-01-30 15:18:21 +0000
commit214cf4da27be2c4845df7396aa22efa184b1adc7 (patch)
tree3f283e2c11009a929325e4762831a301a6a7c938
parentf751dc8881f2cdc20facca542f07e6728421161f (diff)
Minor error
-rw-r--r--weather.py3
1 files changed, 2 insertions, 1 deletions
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/