diff --git a/cmd/advanced.go b/cmd/advanced.go index fb3602c..6fcbc03 100644 --- a/cmd/advanced.go +++ b/cmd/advanced.go @@ -63,13 +63,13 @@ func advancedMenu(app *Application) { getPreciseLocation(app) getDate(app) getHistoricalData(app.Client, app) - } - if app.Forecast.Main.Temp != 0.00 { - validLoc = true - } else { - fmt.Println("I couldn't get any information for that location.") - fmt.Println("Are you sure the coordinates are valid?") + if app.Forecast.Main.Temp != 0.00 { + validLoc = true + } else { + fmt.Println("I couldn't get any information for that location.") + fmt.Println("Are you sure the coordinates are valid?") + } } printWeather(app) app.Forecast.Main.Temp = 0.00