mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
Revert "[Processing] prevent error when running escapeAndJoin with empty param string"
This reverts commit c2a566a3a7bfe369832e5361a0c582bfe2ea5a98.
This commit is contained in:
parent
c2a566a3a7
commit
7a12d5fa32
@ -30,7 +30,8 @@ import re
|
||||
|
||||
from qgis.PyQt.QtCore import QUrl
|
||||
|
||||
from qgis.core import QgsApplication
|
||||
from qgis.core import (QgsApplication,
|
||||
QgsVectorFileWriter)
|
||||
|
||||
from processing.core.GeoAlgorithm import GeoAlgorithm
|
||||
from processing.algs.gdal.GdalAlgorithmDialog import GdalAlgorithmDialog
|
||||
@ -58,7 +59,7 @@ class GdalAlgorithm(GeoAlgorithm):
|
||||
def processAlgorithm(self, feedback):
|
||||
commands = self.getConsoleCommands()
|
||||
layers = dataobjects.getVectorLayers()
|
||||
supported = dataobjects.getSupportedOutputVectorLayerExtensions()
|
||||
supported = QgsVectorFileWriter.supportedFormatExtensions()
|
||||
for i, c in enumerate(commands):
|
||||
for layer in layers:
|
||||
if layer.source() in c:
|
||||
|
Loading…
x
Reference in New Issue
Block a user