Procházet zdrojové kódy

wxGUI/animation: fix slider label for relative point data

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60786 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová před 11 roky
rodič
revize
b6b10a3222
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      gui/wxpython/animation/temporal_manager.py

+ 1 - 1
gui/wxpython/animation/temporal_manager.py

@@ -213,7 +213,7 @@ class TemporalManager(object):
                           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):