Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing][OTB] Don't remove parameter if its value is 0
  • Loading branch information
troopa81 authored and nyalldawson committed Dec 7, 2020
1 parent 4be7d95 commit e7cef6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/otb/OtbAlgorithm.py
Expand Up @@ -202,7 +202,7 @@ def processAlgorithm(self, parameters, context, feedback):
outputPixelType = None
for k, v in parameters.items():
# if value is None for a parameter we don't have any businees with this key
if not v or v is None:
if v is None:
continue
# for 'outputpixeltype' parameter we find the pixeltype string from self.pixelTypes
if k == 'outputpixeltype':
Expand Down

0 comments on commit e7cef6f

Please sign in to comment.