Explorar el Código

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 hace 9 años
padre
commit
834bd8ed30
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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