[GRASS-SVN] r62993 - grass/trunk/tools
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 26 02:26:36 PST 2014
Author: martinl
Date: 2014-11-26 02:26:36 -0800 (Wed, 26 Nov 2014)
New Revision: 62993
Modified:
grass/trunk/tools/thumbnails.py
Log:
fix tools/thumbnails.py
Modified: grass/trunk/tools/thumbnails.py
===================================================================
--- grass/trunk/tools/thumbnails.py 2014-11-26 10:25:21 UTC (rev 62992)
+++ grass/trunk/tools/thumbnails.py 2014-11-26 10:26:36 UTC (rev 62993)
@@ -152,7 +152,7 @@
lines, cols = None, None
grass.run_command("r.colors", map = grad, color = table, quiet = True)
grass.run_command("d.colortable", flags = 'n', map = grad,
- lines = lines, cols = cols, quiet = True)
+ lines = lines, columns = cols, quiet = True)
outfile = os.path.join(output_dir, "colortables", "%s.png" % table)
convert_and_rotate(tmp_img, outfile, discrete)
More information about the grass-commit
mailing list