Skip to content
Permalink
Browse files

Fix grassname of raster layer bands in r_rgb.py

  • Loading branch information
agiudiceandrea authored and nyalldawson committed Sep 24, 2020
1 parent d688090 commit e7e08fd5045b4fbbec5078ed30de644dabd5ce41
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/grass7/ext/r_rgb.py
@@ -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.
You can’t perform that action at this time.