Skip to content

Commit

Permalink
[processing] values() is a dict view object, not list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and volaya committed Dec 1, 2016
1 parent 781ebd9 commit b85b5e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/RasterCalculator.py
Expand Up @@ -119,7 +119,7 @@ def processAlgorithm(self, progress):
float(extent[1]), float(extent[3]))
else:
if layersDict:
bbox = layersDict.values()[0].extent()
bbox = list(layersDict.values())[0].extent()
for lyr in layersDict.values():
bbox.combineExtentWith(lyr.extent())
else:
Expand Down

0 comments on commit b85b5e7

Please sign in to comment.