What steps will reproduce the problem?
1. issue pub cmd: .wz -f london
What is the expected output? What do you see instead?
The expected output should change from celcius to fahrenheit, even though the label changes, the value does not.
What version of the product are you using? On what operating system?
weather.tcl 2.2.1
Please provide any additional information below.
code currently calls on default set variable $wz(tempu) when it should use $tempu
Current code:
set temp [expr {([string tolower $wz(tempu)] == "f")?"temp_f":"temp_c"}]
New code:
set temp [expr {([string tolower $tempu] == "f")?"temp_f":"temp_c"}]