Skip to content
Permalink
Browse files
typo
  • Loading branch information
nicogodet authored and nyalldawson committed Jun 23, 2021
1 parent b7ef0b4 commit fdb5bd4cd262d9bd5c2ee471bf53c4369decfc91
Showing with 4 additions and 3 deletions.
  1. +4 −3 python/plugins/processing/gui/BatchPanel.py
@@ -270,9 +270,10 @@ def showDirectorySelectionDialog(self):

p = pp.as_posix()

if isinstance(self.parameterDefinition, QgsProcessingParameterRasterLayer) or \
(isinstance(self.parameterDefinition,
QgsProcessingParameterMultipleLayers) and self.param.layerType() == QgsProcessing.TypeRaster):
if isinstance(self.parameterDefinition, QgsProcessingParameterRasterLayer) or (
isinstance(self.parameterDefinition, QgsProcessingParameterMultipleLayers)
and self.parameterDefinition.layerType() == QgsProcessing.TypeRaster
):
if not QgsRasterLayer.isValidRasterFileName(p):
continue

0 comments on commit fdb5bd4

Please sign in to comment.