Skip to content

Commit

Permalink
Fix grassname of raster layer bands in r_rgb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored and nyalldawson committed Sep 24, 2020
1 parent d688090 commit e7e08fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/grass7/ext/r_rgb.py
Expand Up @@ -57,5 +57,5 @@ def processOutputs(alg, parameters, context, feedback):
if raster.bandCount() == 1:
grassName = '{}{}'.format(color, alg.uniqueSuffix)
else:
grassName = '{}{}'.format(alg.exportedLayers['input'], color)
grassName = '{}.{}'.format(alg.exportedLayers['input'], color)
alg.exportRasterLayer(grassName, fileName, True)

0 comments on commit e7e08fd

Please sign in to comment.