Browse Source

wxGUI: don't show revision number in welcome screen

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@39877 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 15 years ago
parent
commit
35579ae3eb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gis_set.py

+ 1 - 1
gui/wxpython/gis_set.py

@@ -83,7 +83,7 @@ class GRASSStartup(wx.Frame):
         # labels
         ### crashes when LOCATION doesn't exist
         versionFile = open(os.path.join(globalvar.ETCDIR, "VERSIONNUMBER"))
-        grassVersion = versionFile.readline().replace('%s' % os.linesep, '').strip()
+        grassVersion = versionFile.readline().split(' ')[0].rstrip('\n')
         versionFile.close()
 
         self.select_box = wx.StaticBox (parent=self.panel, id=wx.ID_ANY,