1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Delete some commented-out code

This commit is contained in:
Chris Cummer
2018-03-28 19:46:29 -07:00
committed by Chris Cummer
parent 8946e5cf24
commit b424655785
3 changed files with 2 additions and 4 deletions

View File

@@ -12,7 +12,6 @@ func Fetch() *owm.CurrentWeatherData {
panic(err)
}
//w.CurrentByName("Toronto,ON")
w.CurrentByID(6173331)
return w

View File

@@ -25,7 +25,6 @@ func Widget() tview.Primitive {
widget.SetDynamicColors(true)
widget.SetTitle(fmt.Sprintf(" 🌤 Weather - %s ", data.Name))
//fmt.Fprintf(widget, " %s", data.Name)
var tpl bytes.Buffer
tmpl, _ := template.New("weather").Parse(weatherTemplate)
if err := tmpl.Execute(&tpl, data); err != nil {