mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Do not put GDAL extra parameters in quotes.
This commit is contained in:
parent
9c16ad3ad3
commit
1fca1ebe5d
@ -138,7 +138,7 @@ class GdalUtils:
|
||||
def escapeAndJoin(strList):
|
||||
joined = ''
|
||||
for s in strList:
|
||||
if ' ' in s:
|
||||
if s[0]!='-' and ' ' in s:
|
||||
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \
|
||||
+ '"'
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user