Skip to content
Snippets Groups Projects
Commit 783d9562 authored by Vincent Delbar's avatar Vincent Delbar
Browse files

STYLE: remove useless elif

parent 5cc50cea
No related branches found
No related tags found
2 merge requests!108Release 2.0.0,!98Add function for interactive OTB installation
Pipeline #186628 passed
......@@ -100,7 +100,7 @@ def find_otb(prefix: str = OTB_ROOT, scan: bool = True):
if input("OTB is missing. Do you want to install it ? (y/n): ") == "y":
return find_otb(install_otb(*interactive_config()))
raise SystemError("OTB libraries not found on disk. ")
elif not prefix:
if not prefix:
raise SystemExit(
"OTB libraries not found on disk. "
"To install it, open an interactive python shell and 'import pyotb'"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment