Skip to content
Permalink
Browse files
[Processing] Fix exception when using extent helper function.
  • Loading branch information
radosuav authored and nyalldawson committed Dec 10, 2018
1 parent 8b28b63 commit f2710fd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -129,7 +129,7 @@ def getTables(sorting=True):
def extent(layers):
first = True
for layer in layers:
if not isinstance(layer, (QgsMapLayer.QgsRasterLayer, QgsMapLayer.QgsVectorLayer)):
if not isinstance(layer, (QgsRasterLayer, QgsVectorLayer)):
layer = getObjectFromUri(layer)
if layer is None:
continue

0 comments on commit f2710fd

Please sign in to comment.