diff options
author | makefu <github@syntax-fehler.de> | 2017-09-19 15:59:25 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-09-19 15:59:25 +0200 |
commit | be31da7cfa04baacf72841c926c7d75d816d0323 (patch) | |
tree | da8faf7e4a2f2a0878e9a5a16c09d285719bedc2 /europastats/weather.py | |
parent | 9abf0aa2a96da04a70ab3088ab51ef176fcf84cc (diff) |
Diffstat (limited to 'europastats/weather.py')
-rw-r--r-- | europastats/weather.py | 4 |
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 |