fixed minor bug in in OTB provider

git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@232 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
This commit is contained in:
volayaf 2012-06-08 07:13:36 +00:00
parent 9de737a2da
commit 42d60c7ec5
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
#Thu May 31 18:14:09 CEST 2012
#Thu Jun 07 09:09:17 CEST 2012
eclipse.preferences.version=1
encoding//src/sextante/ftools/ftools_utils.py=utf-8
encoding//src/sextante/gui/ParametersDialog.py=latin1
encoding//src/sextante/gui/ui_ParametersDialog.py=utf-8
encoding//src/sextante/gui/ui_SextanteToolbox.py=utf-8
encoding//src/sextante/resources.py=utf-8

View File

@ -29,7 +29,7 @@ class OTBAlgorithmProvider(AlgorithmProvider):
self.preloadedAlgs = []
folder = OTBUtils.otbDescriptionPath()
for descriptionFile in os.listdir(folder):
if descriptionFile.endswith("rsx"):
if descriptionFile.endswith("txt"):
try:
alg = OTBAlgorithm(os.path.join(folder, descriptionFile))
if alg.name.strip() != "":