diff --git a/python/plugins/sextante/core/Sextante.py b/python/plugins/sextante/core/Sextante.py index 3ba1bbf2320d..289a49bcfd45 100644 --- a/python/plugins/sextante/core/Sextante.py +++ b/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 -##========================================================== -