Fixed bug in weather.py

Weather.py doesn't always receive the correct data for visibility and fails silently - this prevents that.