File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
python/plugins/processing/algs/gdal Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 30
30
31
31
from qgis .PyQt .QtCore import QUrl
32
32
33
- from qgis .core import QgsApplication
33
+ from qgis .core import (QgsApplication ,
34
+ QgsVectorFileWriter )
34
35
35
36
from processing .core .GeoAlgorithm import GeoAlgorithm
36
37
from processing .algs .gdal .GdalAlgorithmDialog import GdalAlgorithmDialog
@@ -58,7 +59,7 @@ def getCustomParametersDialog(self):
58
59
def processAlgorithm (self , feedback ):
59
60
commands = self .getConsoleCommands ()
60
61
layers = dataobjects .getVectorLayers ()
61
- supported = dataobjects . getSupportedOutputVectorLayerExtensions ()
62
+ supported = QgsVectorFileWriter . supportedFormatExtensions ()
62
63
for i , c in enumerate (commands ):
63
64
for layer in layers :
64
65
if layer .source () in c :
You can’t perform that action at this time.
0 commit comments