Skip to content

Commit

Permalink
fixed bug in lasground
Browse files Browse the repository at this point in the history
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@164 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
  • Loading branch information
volayaf@gmail.com committed May 3, 2012
1 parent b877afa commit cc90933
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/sextante/lastools/lasground.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import os
from PyQt4 import QtGui
from sextante.parameters.ParameterString import ParameterString
from sextante.lastools.LasToolsUtils import LasToolsUtils
from sextante.parameters.ParameterBoolean import ParameterBoolean
from sextante.outputs.OutputRaster import OutputRaster
from sextante.lastools.LasToolsAlgorithm import LasToolsAlgorithm
from sextante.parameters.ParameterSelection import ParameterSelection
from sextante.parameters.ParameterFile import ParameterFile
Expand Down Expand Up @@ -31,7 +28,7 @@ def processAlgorithm(self, progress):
commands.append(self.getParameterValue(lasground.INPUT))
commands.append("-o")
commands.append(self.getOutputValue(lasground.OUTPUT))
method = lasground.METHODS[self.getParameterValue(lasground.METHOD)]
method = self.getParameterValue(lasground.METHOD)
if method != 0:
commands.append("-" + lasground.METHODS[method])
self.addCommonParameterValuesToCommand(commands)
Expand Down

0 comments on commit cc90933

Please sign in to comment.