Skip to content
Browse files
[processing] improve SAGA version check. Fix getCopy() method
  • Loading branch information
alexbruy committed Feb 14, 2017
1 parent 391e2f8 commit 1430e933409c4164b89ff45714b420fc28ed4ba8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -75,7 +75,7 @@ def __init__(self, descriptionfile):
self._icon = None

def getCopy(self):
newone = SagaAlgorithm212(self.descriptionFile)
newone = SagaAlgorithm(self.descriptionFile)
newone.provider = self.provider
return newone

@@ -82,7 +82,7 @@ def _loadAlgorithms(self):'Problem with SAGA installation: SAGA was not found or is not correctly installed'))

if version not in ['2.3.0', '2.3.1']:
if not version.startswith('2.3.'):
ProcessingLog.addToLog(ProcessingLog.LOG_ERROR,'Problem with SAGA installation: unsupported SAGA version found.'))

0 comments on commit 1430e93

Please sign in to comment.