Skip to content

Commit

Permalink
Do not put GDAL extra parameters in quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rado Guzinski committed Jun 26, 2014
1 parent 9c16ad3 commit 1fca1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/GdalUtils.py
Expand Up @@ -138,7 +138,7 @@ def getFormatShortNameFromFilename(filename):
def escapeAndJoin(strList):
joined = ''
for s in strList:
if ' ' in s:
if s[0]!='-' and ' ' in s:
escaped = '"' + s.replace('\\', '\\\\').replace('"', '\\"') \
+ '"'
else:
Expand Down

0 comments on commit 1fca1eb

Please sign in to comment.