Update of /cvsroot/pybot/pybot/pybot/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv21239
Modified Files:
weather.py
Log Message:
Fixing minor bug introduced when fixing cloud information.
Index: weather.py
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot/modules/weather.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** weather.py 28 Aug 2003 12:34:55 -0000 1.4
--- weather.py 28 Aug 2003 12:37:36 -0000 1.5
***************
*** 70,74 ****
r.getISOTime()))
if r.getSkyConditions():
! l.append("%s," % r.getSkyConditions()[0].lower())
l.append("temperature of %.2fC (%.2fF)," %
(r.getTemperatureCelsius(),
--- 70,74 ----
r.getISOTime()))
if r.getSkyConditions():
! l.append("%s," % r.getSkyConditions().lower())
l.append("temperature of %.2fC (%.2fF)," %
(r.getTemperatureCelsius(),
|