Commit 29d09b15 authored by Rashad Kanavath's avatar Rashad Kanavath
Browse files

fix file extension for wrapper script

parent d43b2950
......@@ -242,7 +242,7 @@ class OTBAlgorithmProvider(QgsProcessingProvider):
folder = OTBUtils.otbFolder()
cli_ext = ''
if == 'nt':
cli_ext = 'bat'
cli_ext = '.bat'
if os.path.isfile(os.path.join(folder, 'otbenv.profile')):
OTBUtils.OTB_CLI_FILE = os.path.join(QgsApplication.qgisSettingsDirPath(), 'processing', 'qgis_otb_cli' + cli_ext)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment