Skip to content
Permalink
Browse files

[sextante] fixed missing import

  • Loading branch information
volaya committed Apr 12, 2013
1 parent ffa87a2 commit e8650aaf649e1cef7b35e939222c5c2dc680b0ac
Showing with 2 additions and 6 deletions.
  1. +2 −6 python/plugins/sextante/core/Sextante.py
@@ -23,6 +23,7 @@
# This will get replaced with a git SHA1 when you do a git archive
__revision__ = '$Format:%H$'

import sextante
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *
@@ -252,7 +253,7 @@ def runAlgorithm(algOrName, onFinish, *args):
return
if len(args) != alg.getVisibleParametersCount() + alg.getVisibleOutputsCount():
print ("Error: Wrong number of parameters")
alghelp(algOrName)
sextante.alghelp(algOrName)
return

alg = alg.getCopy()
@@ -340,9 +341,4 @@ def cancel():
return alg


##==========================================================
##These methods are here to be used from the python console,
##making it easy to use SEXTANTE from there
##==========================================================


0 comments on commit e8650aa

Please sign in to comment.
You can’t perform that action at this time.