python-forecast.io icon indicating copy to clipboard operation
python-forecast.io copied to clipboard

alerts not updated

Open leoscholl opened this issue 7 years ago • 0 comments

when a call to Forecast update() is made, the alerts don't seem to get updated

in init you have

        self._alerts = []
        for alertJSON in self.json.get('alerts', []):
            self._alerts.append(Alert(alertJSON))

but in update nothing happens to _alerts

is that on purpose?

leoscholl avatar Jul 10 '18 16:07 leoscholl