mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
fixed problem when opening OTB descriptions
git-svn-id: http://sextante.googlecode.com/svn/trunk/soft/bindings/qgis-plugin@231 881b9c09-3ef8-f3c2-ec3d-21d735c97f4d
This commit is contained in:
parent
15dfeff9f8
commit
9de737a2da
@ -29,6 +29,7 @@ class OTBAlgorithmProvider(AlgorithmProvider):
|
||||
self.preloadedAlgs = []
|
||||
folder = OTBUtils.otbDescriptionPath()
|
||||
for descriptionFile in os.listdir(folder):
|
||||
if descriptionFile.endswith("rsx"):
|
||||
try:
|
||||
alg = OTBAlgorithm(os.path.join(folder, descriptionFile))
|
||||
if alg.name.strip() != "":
|
||||
|
Loading…
x
Reference in New Issue
Block a user