Skip to content

Commit

Permalink
[otb] handle not filled string parameters
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@95 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
julien.malik@gmail.com committed Apr 14, 2012
1 parent 8f1271b commit 8f0ccbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sextante/otb/OTBAlgorithm.py
Expand Up @@ -65,7 +65,7 @@ def processAlgorithm(self, progress):
commands.append(path + os.sep + self.cliName)

for param in self.parameters:
if param.value == None:
if param.value == None or param.value == "":
continue
if isinstance(param, (ParameterRaster, ParameterVector)):
commands.append(param.name)
Expand Down

0 comments on commit 8f0ccbe

Please sign in to comment.