Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] fixed otb version detection when no otb path is defined …
…or found
  • Loading branch information
volaya committed Jan 15, 2016
1 parent a63cab7 commit 01434e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/plugins/processing/algs/otb/OTBUtils.py
Expand Up @@ -135,6 +135,9 @@ def getInstalledVersion(runOtb=False):
if _installedVersionFound and not runOtb:
return _installedVersion

if otbPath() is None:
_installedVersionFound = False
return None
commands = [os.path.join(otbPath(), "otbcli_Smoothing")]
progress = SilentProgress()
out = executeOtb(commands, progress, False)
Expand Down

0 comments on commit 01434e8

Please sign in to comment.