tupton / weather-widget

A weather widget for Übersicht
2 stars 0 forks source link

Make reverse geocoding optional, possibly based on the presence of a Google geocoding API key #2

Closed tupton closed 10 years ago

tupton commented 10 years ago

The default is to reverse geocode the given location, but not everyone will have a Google geocoding API key to do this. It should be a more configurable option.

The workaround now is to remove --geocode from the command in index.coffee.

tupton commented 10 years ago

This is fixed by #9; just remove the geocode option from fetch-forecast.args. If that option is still present but a Google geocoding API key is not available, there is some error reporting but the script still continues gracefull.