[GRASS-SVN] r71286 - grass/branches/releasebranch_7_2/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 21 12:30:25 PDT 2017


Author: annakrat
Date: 2017-07-21 12:30:25 -0700 (Fri, 21 Jul 2017)
New Revision: 71286

Modified:
   grass/branches/releasebranch_7_2/gui/wxpython/gis_set.py
Log:
wxGUI: fix importing vector during location creation when the vector file name does not match the layer name (merge from trunk, r71285)

Modified: grass/branches/releasebranch_7_2/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/gis_set.py	2017-07-21 19:28:38 UTC (rev 71285)
+++ grass/branches/releasebranch_7_2/gui/wxpython/gis_set.py	2017-07-21 19:30:25 UTC (rev 71286)
@@ -583,7 +583,7 @@
 
         wx.BeginBusyCursor()
         wx.Yield()
-        if mapName in vectors:
+        if vectors:
             # vector detected
             returncode, error = RunCommand(
                 'v.in.ogr', input=filePath, output=mapName, flags='e',



More information about the grass-commit mailing list