()
| 121 | |
| 122 | |
| 123 | def update_weather(): |
| 124 | if APP_DATA['City']: |
| 125 | request_weather_data(create_endpoint(2)) |
| 126 | elif APP_DATA['Postal']: |
| 127 | request_weather_data(create_endpoint(1)) |
| 128 | |
| 129 | |
| 130 | def create_endpoint(endpoint_type=0): |
no test coverage detected