File tree 1 file changed +2
-2
lines changed
python/plugins/processing/core
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,7 @@ def getFileFilter(self, alg):
273
273
return ';;' .join (exts )
274
274
275
275
def getDefaultFileExtension (self , alg ):
276
- supported = self .getSupportedOutputVectorLayerExtensions ()
276
+ supported = alg . provider .getSupportedOutputVectorLayerExtensions ()
277
277
if self .hasGeometry ():
278
278
default = ProcessingConfig .getSetting (ProcessingConfig .DEFAULT_OUTPUT_VECTOR_LAYER_EXT )
279
279
else :
@@ -291,7 +291,7 @@ def getCompatibleFileName(self, alg):
291
291
generate the output result.
292
292
"""
293
293
ext = self .value [self .value .rfind ('.' ) + 1 :]
294
- if ext in self .getSupportedOutputVectorLayerExtensions ():
294
+ if ext in alg . provider .getSupportedOutputVectorLayerExtensions ():
295
295
return self .value
296
296
else :
297
297
if self .compatible is None :
You can’t perform that action at this time.
0 commit comments