Skip to content

Commit

Permalink
[processing] fix condition in warp alg
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jul 26, 2016
1 parent 3138cab commit 6ccf726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/warp.py
Expand Up @@ -176,7 +176,7 @@ def getConsoleCommands(self):
if rastext:
arguments.extend(rastext)

if rastext and len(rastext_crs) > 0:
if rastext and rastext_crs is not None:
arguments.append('-te_srs')
arguments.append(rastext_crs)

Expand Down

0 comments on commit 6ccf726

Please sign in to comment.