Skip to content

Commit

Permalink
[sextante] fixed missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Apr 12, 2013
1 parent ffa87a2 commit e8650aa
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions python/plugins/sextante/core/Sextante.py
Expand Up @@ -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 *
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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.