summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-09-19 15:59:25 +0200
committermakefu <github@syntax-fehler.de>2017-09-19 15:59:25 +0200
commitbe31da7cfa04baacf72841c926c7d75d816d0323 (patch)
treeda8faf7e4a2f2a0878e9a5a16c09d285719bedc2
parent9abf0aa2a96da04a70ab3088ab51ef176fcf84cc (diff)
weather: fix namingHEADmaster
-rw-r--r--europastats/weather.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/europastats/weather.py b/europastats/weather.py
index 3395e4e..93b8241 100644
--- a/europastats/weather.py
+++ b/europastats/weather.py
@@ -34,10 +34,10 @@ def get_data(mock=False):
offset = 0
for v in resp:
data = {
- "_name": "Europapark Wetter {}".format(off[offset]),
+ "name": off[offset],
"offset": offset,
"_ts": now.isoformat(timespec="seconds") + "Z",
- "type": "weather"
+ "type": name
}
data.update(v)
yield data