Skip to content

Commit

Permalink
Fix error when otb lib path is not found
Browse files Browse the repository at this point in the history
  • Loading branch information
vpoughon committed Feb 25, 2016
1 parent 4a1cc33 commit 02cd0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/otb/OTBUtils.py
Expand Up @@ -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")]
Expand Down

0 comments on commit 02cd0f0

Please sign in to comment.