Mercurial > hg > egg-tcls
changeset 419:3566fdca974b
weather: Rename a string token.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 08 Jan 2017 00:56:13 +0200 |
parents | e904b453a06a |
children | db6e1d39db11 |
files | config.weather.example weather.tcl |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/config.weather.example Sun Jan 08 00:04:02 2017 +0200 +++ b/config.weather.example Sun Jan 08 00:56:13 2017 +0200 @@ -35,7 +35,7 @@ ### ### Messages ### -set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_long@,15z )"] +set weather_msg_list_station [list "\002@station@\002 ( http://www.google.fi/maps/@@c_lat@,@c_lng@,15z )"] set weather_msg_result [list "\002@station@\002, mitattu klo @ctime@: \002@temp@°C\002"]
--- a/weather.tcl Sun Jan 08 00:04:02 2017 +0200 +++ b/weather.tcl Sun Jan 08 00:56:13 2017 +0200 @@ -142,7 +142,7 @@ set uvals(station) [lindex $udata 0] set uvals(type) [lindex $udata 1] set uvals(c_lat) [lindex $udata 2] - set uvals(c_long) [lindex $udata 3] + set uvals(c_lng) [lindex $udata 3] set uvals(c_height) [lindex $udata 4] set uvals(vtime) [lindex $udata 5]