[GRASS-SVN] r60786 - grass/trunk/gui/wxpython/animation

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jun 10 19:14:07 PDT 2014


Author: annakrat
Date: 2014-06-10 19:14:07 -0700 (Tue, 10 Jun 2014)
New Revision: 60786

Modified:
   grass/trunk/gui/wxpython/animation/temporal_manager.py
Log:
wxGUI/animation: fix slider label for relative point data

Modified: grass/trunk/gui/wxpython/animation/temporal_manager.py
===================================================================
--- grass/trunk/gui/wxpython/animation/temporal_manager.py	2014-06-11 01:50:45 UTC (rev 60785)
+++ grass/trunk/gui/wxpython/animation/temporal_manager.py	2014-06-11 02:14:07 UTC (rev 60786)
@@ -213,7 +213,7 @@
                           if end is not None else None, unit) for (st, end, unit) in timestamps]
         else:
             # ('15', '16', u'years'),
-            timestamps = [(str(st), str(end), unit) for st, end, unit in timestamps]
+            timestamps = [(str(st), end if end is None else str(end), unit) for st, end, unit in timestamps]
         return timestamps, mapDict
 
     def _getLabelsAndMaps(self, timeseries):



More information about the grass-commit mailing list