Skip to content
Permalink
Browse files

[Processing] Compare lower file extension to "shp"

  • Loading branch information
arnaud-morvan authored and alexbruy committed May 28, 2016
1 parent 2cf224c commit 01450c56093d22e68e4233c8c504d94bcfb3fb37
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/tools/dataobjects.py
@@ -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(),

0 comments on commit 01450c5

Please sign in to comment.
You can’t perform that action at this time.