git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41298 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -105,7 +105,7 @@ def main():
if not value:
grass.fatal(_('Either value= or qcolumn= must be given'))
# we insert a value
- if coltype.upper() not in ["INTEGER", "DOUBLE PRECISION"]:
+ if coltype['type'].upper() not in ["INTEGER", "DOUBLE PRECISION"]:
value = "'%s'" % value
cmd = "UPDATE %s SET %s=%s" % (table, column, value)