Skip to content

Commit

Permalink
[processing] fix condition in warp alg
Browse files Browse the repository at this point in the history
(cherry picked from commit 6ccf726)
  • Loading branch information
alexbruy committed Jul 26, 2016
1 parent d48da78 commit 14841f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/warp.py
Original file line number Diff line number Diff line change
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 14841f5

Please sign in to comment.