[GRASS-SVN] r63492 - grass-addons/grass7/vector/v.surf.nnbathy
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 12 03:40:50 PST 2014
Author: martinl
Date: 2014-12-12 03:40:50 -0800 (Fri, 12 Dec 2014)
New Revision: 63492
Modified:
grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py
Log:
v.surf.nnbathy: fix find_file() logic
Modified: grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py
===================================================================
--- grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py 2014-12-12 11:39:54 UTC (rev 63491)
+++ grass-addons/grass7/vector/v.surf.nnbathy/v.surf.nnbathy.py 2014-12-12 11:40:50 UTC (rev 63492)
@@ -92,7 +92,7 @@
if not (options['input'] or options['file']):
grass.fatal("Please specify either the 'input' or 'file' option")
- if options['input'] and not grass.find_file(options['input'], element='vector'):
+ if options['input'] and not grass.find_file(options['input'], element='vector')['fullname']:
grass.fatal("Vector <%s> not found" % options['input'])
if options['file'] and not os.path.isfile(options['file']):
More information about the grass-commit
mailing list