mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
[Processing] Compare lower file extension to "shp"
This commit is contained in:
parent
2cf224cacf
commit
01450c5609
@ -318,7 +318,7 @@ def exportVectorLayer(layer, supported=None):
|
||||
unicode(layer.source()).decode('ascii')
|
||||
except UnicodeEncodeError:
|
||||
isASCII = False
|
||||
if not os.path.splitext()[1] in supported or not isASCII:
|
||||
if not os.path.splitext()[1].lower() in supported or not isASCII:
|
||||
writer = QgsVectorFileWriter(
|
||||
output, systemEncoding,
|
||||
layer.pendingFields(), provider.geometryType(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user