Skip to content
Permalink
Browse files

[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 01434e87542e166a540fab6041d51839eb511abd
Showing with 3 additions and 0 deletions.
  1. +3 −0 python/plugins/processing/algs/otb/OTBUtils.py
@@ -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)

0 comments on commit 01434e8

Please sign in to comment.
You can’t perform that action at this time.