Browse Source

g.gui.tplot: fixed small bug querying data

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65773 15284696-431f-4ddb-bdfa-cd5b030d7da7
Luca Delucchi 9 years ago
parent
commit
834bd8ed30
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/tplot/frame.py

+ 1 - 1
gui/wxpython/tplot/frame.py

@@ -483,7 +483,7 @@ class TplotFrame(wx.Frame):
                             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