Air Quality Index in Melbourne is 50 the dominant pollutant is pm25

This commit is contained in:
nik gaffney 2020-02-16 00:34:56 +11:00
parent dff57a346b
commit 265ab11044

6
aqi.el
View file

@ -1,4 +1,4 @@
;;; aqi.el --- Air quality data from the World Air Quality Index. -*- lexical-binding: t; -*- ;;; aqi.el --- Air quality data from the World Air Quality Index -*- lexical-binding: t; -*-
;; Copyright 2020 FoAM ;; Copyright 2020 FoAM
;; ;;
@ -77,9 +77,9 @@
(defun aqi--city-cache-update (city) (defun aqi--city-cache-update (city)
"Add or update cached data for a given CITY." "Add or update cached data for a given CITY."
(progn (aqi--city-cache-clear city) (aqi--city-cache-clear city)
(push (cons city (aqi-request city)) (push (cons city (aqi-request city))
aqi-cached-data))) aqi-cached-data))
(defun aqi--city-cache-get (city) (defun aqi--city-cache-get (city)
"Add or update cached data for a given CITY." "Add or update cached data for a given CITY."