Skip to content
Permalink
Browse files

use complete layerSource instead of only basename

  • Loading branch information
luipir committed Jul 21, 2018
1 parent 1bc1bb2 commit 6a2934cfa3b2d61b921e6efffa1502337597fd83
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/RasterCalculator.py
@@ -125,7 +125,7 @@ def processAlgorithm(self, parameters, context, feedback):

layersDict = {}
if layers:
layersDict = {os.path.basename(lyr.source().split(".")[0]): lyr for lyr in layers}
layersDict = {lyr.source(): lyr for lyr in layers}

crs = self.parameterAsCrs(parameters, self.CRS, context)
if not crs or not crs.isValid():

0 comments on commit 6a2934c

Please sign in to comment.
You can’t perform that action at this time.