Skip to content
Browse files
Fix error when otb lib path is not found
  • Loading branch information
vpoughon committed Feb 25, 2016
1 parent 4a1cc33 commit 02cd0f000292bf5d5c4e1f428bc96d47d7888ea0
Showing 1 changed file with 1 addition and 1 deletion.
@@ -135,7 +135,7 @@ def getInstalledVersion(runOtb=False):
if _installedVersionFound and not runOtb:
return _installedVersion

if otbPath() is None:
if otbPath() is None or otbLibPath() is None:
_installedVersionFound = False
return None
commands = [os.path.join(otbPath(), "otbcli_Smoothing")]

0 comments on commit 02cd0f0

Please sign in to comment.