We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 9c16ad3 commit 1fca1ebCopy full SHA for 1fca1eb
python/plugins/processing/algs/gdal/GdalUtils.py
@@ -138,7 +138,7 @@ def getFormatShortNameFromFilename(filename):
138
def escapeAndJoin(strList):
139
joined = ''
140
for s in strList:
141
- if ' ' in s:
+ if s[0]!='-' and ' ' in s:
142
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \
143
+ '"'
144
else:
0 commit comments