Ver código fonte

coltype check fixed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@40033 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 15 anos atrás
pai
commit
9c6277f048
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/v.dissolve/v.dissolve.py

+ 1 - 1
scripts/v.dissolve/v.dissolve.py

@@ -88,7 +88,7 @@ def main():
         except KeyError:
             grass.fatal(_('Column <%s> not found') % column)
         
-	if coltype not in ('INTEGER', 'CHARACTER'):
+	if coltype['type'] not in ('INTEGER', 'CHARACTER'):
 	    grass.fatal(_("Key column must be of type integer or string"))
 
         f = grass.vector_layer_db(input, layer)