Skip to content

Commit 1fca1eb

Browse files
author
Rado Guzinski
committed
Do not put GDAL extra parameters in quotes.
1 parent 9c16ad3 commit 1fca1eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/algs/gdal/GdalUtils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def getFormatShortNameFromFilename(filename):
138138
def escapeAndJoin(strList):
139139
joined = ''
140140
for s in strList:
141-
if ' ' in s:
141+
if s[0]!='-' and ' ' in s:
142142
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \
143143
+ '"'
144144
else:

0 commit comments

Comments
 (0)