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 f2710fd1f8b71adf26dcd54e158b2999ecc15401
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tools/dataobjects.py
@@ -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.
You can’t perform that action at this time.