Avoid crash when no selections are enabled
This commit is contained in:
parent
c1005f6212
commit
1b67a4293d
1 changed files with 7 additions and 5 deletions
|
|
@ -338,6 +338,8 @@ def install_ninite_bundle(
|
||||||
main_selections.append('standard')
|
main_selections.append('standard')
|
||||||
else:
|
else:
|
||||||
main_selections.append('standard7')
|
main_selections.append('standard7')
|
||||||
|
if main_selections:
|
||||||
|
# Only run if base and/or standard are enabled
|
||||||
cmd = r'{}\Installers\Extras\Bundles\{}.exe'.format(
|
cmd = r'{}\Installers\Extras\Bundles\{}.exe'.format(
|
||||||
global_vars['BaseDir'],
|
global_vars['BaseDir'],
|
||||||
'-'.join(main_selections),
|
'-'.join(main_selections),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue