[GRASS-SVN] r65773 - grass/trunk/gui/wxpython/tplot
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jul 22 08:29:08 PDT 2015
Author: lucadelu
Date: 2015-07-22 08:29:07 -0700 (Wed, 22 Jul 2015)
New Revision: 65773
Modified:
grass/trunk/gui/wxpython/tplot/frame.py
Log:
g.gui.tplot: fixed small bug querying data
Modified: grass/trunk/gui/wxpython/tplot/frame.py
===================================================================
--- grass/trunk/gui/wxpython/tplot/frame.py 2015-07-22 15:08:29 UTC (rev 65772)
+++ grass/trunk/gui/wxpython/tplot/frame.py 2015-07-22 15:29:07 UTC (rev 65773)
@@ -483,7 +483,7 @@
self.timeDataV[name][catn][layn] = {}
self.timeDataV[name][catn][layn]['start_datetime'] = row['start_time']
self.timeDataV[name][catn][layn]['end_datetime'] = row['end_time']
- self.timeDataV[name][catn][layn]['value'] = vals['values'][int(cat)]
+ self.timeDataV[name][catn][layn]['value'] = vals['values'][int(cat)][0]
self.unit = unit
self.temporalType = mode
return
More information about the grass-commit
mailing list