# HG changeset patch # User Matti Hamalainen # Date 1687429652 -10800 # Node ID 2723be85343ab404493b249bcdccfd298f9af6d3 # Parent 7f1a0d25aa40ce549282ba46291235eb2371c865 weather: Cleanup. diff -r 7f1a0d25aa40 -r 2723be85343a weather.tcl --- a/weather.tcl Thu Jun 15 13:25:32 2023 +0300 +++ b/weather.tcl Thu Jun 22 13:27:32 2023 +0300 @@ -329,11 +329,10 @@ } if {[llength $result] > 0} { - set res "" + set res [join [lrange $result 0 10] " ; "] if {[llength $result] > 10} { - set res [weather_qm "stations_limit"] + append res [weather_qm "stations_limit"] } - append res [join [lrange $result 0 10] " ; "] } else { set res [weather_qm "stations_no_matches"] }