Skip to content

Commit cc90933

Browse files
author
volayaf@gmail.com
committed
fixed bug in lasground
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@164 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
1 parent b877afa commit cc90933

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/sextante/lastools/lasground.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import os
22
from PyQt4 import QtGui
3-
from sextante.parameters.ParameterString import ParameterString
43
from sextante.lastools.LasToolsUtils import LasToolsUtils
5-
from sextante.parameters.ParameterBoolean import ParameterBoolean
6-
from sextante.outputs.OutputRaster import OutputRaster
74
from sextante.lastools.LasToolsAlgorithm import LasToolsAlgorithm
85
from sextante.parameters.ParameterSelection import ParameterSelection
96
from sextante.parameters.ParameterFile import ParameterFile
@@ -31,7 +28,7 @@ def processAlgorithm(self, progress):
3128
commands.append(self.getParameterValue(lasground.INPUT))
3229
commands.append("-o")
3330
commands.append(self.getOutputValue(lasground.OUTPUT))
34-
method = lasground.METHODS[self.getParameterValue(lasground.METHOD)]
31+
method = self.getParameterValue(lasground.METHOD)
3532
if method != 0:
3633
commands.append("-" + lasground.METHODS[method])
3734
self.addCommonParameterValuesToCommand(commands)

0 commit comments

Comments
 (0)