check for empty report seems to be wrong
Bug #760765 reported by
Felix Lawrence
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Weather Indicator |
Fix Released
|
Low
|
Unassigned |
Bug Description
def get_new_
weather = self.get_weather()
if weather == None:
I don't think self.get_weather() ever returns 'None', even if the weather report is empty. Maybe we should try something like
if weather.
or write a weather method "current_
Changed in weather-indicator: | |
milestone: | 11.04.23 → foggy |
Changed in weather-indicator: | |
assignee: | Panagiotis Skintzos (ph7) → nobody |
Changed in weather-indicator: | |
milestone: | foggy → 13.06.01 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I guess, this should be left an additional check for empty weather object - maybe, this is unnecessary. Yet adding additional clauses as 'current_ conditions_ is_blank' is a good idea