[processing] fix condition in warp alg

This commit is contained in:
Alexander Bruy 2016-07-26 14:05:29 +03:00
parent 3138cab6fa
commit 6ccf7264a6

View File

@ -176,7 +176,7 @@ class warp(GdalAlgorithm):
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)