Base: Rename parameter options

This commit is contained in:
Samer Albahra
2015-06-05 23:08:58 -05:00
parent 75e167522b
commit 63999cd09f

View File

@@ -370,14 +370,14 @@ def application(environ, start_response):
if (pre_today >= 0): if (pre_today >= 0):
rf -= pre_today * 200 rf -= pre_today * 200
if 'temp' in wto: if 't' in wto:
tf = tf * (wto['temp'] / 100.0) tf = tf * (wto['t'] / 100.0)
if 'humidity' in wto: if 'h' in wto:
hf = hf * (wto['humidity'] / 100.0) hf = hf * (wto['h'] / 100.0)
if 'rain' in wto: if 'r' in wto:
rf = rf * (wto['rain'] / 100.0) rf = rf * (wto['r'] / 100.0)
scale = (int)(100 + hf + tf + rf) scale = (int)(100 + hf + tf + rf)