Do not put GDAL extra parameters in quotes.

This commit is contained in:
Rado Guzinski 2014-06-26 16:26:49 +02:00
parent 9c16ad3ad3
commit 1fca1ebe5d

View File

@ -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: