[GRASS-SVN] r71285 - grass/trunk/gui/wxpython
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jul 21 12:28:39 PDT 2017
Author: annakrat
Date: 2017-07-21 12:28:38 -0700 (Fri, 21 Jul 2017)
New Revision: 71285
Modified:
grass/trunk/gui/wxpython/gis_set.py
Log:
fix importing vector during location creation when the vector file name does not match the layer name
Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py 2017-07-18 17:25:31 UTC (rev 71284)
+++ grass/trunk/gui/wxpython/gis_set.py 2017-07-21 19:28:38 UTC (rev 71285)
@@ -580,7 +580,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