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,11 +338,13 @@ def install_ninite_bundle(
|
||||||
main_selections.append('standard')
|
main_selections.append('standard')
|
||||||
else:
|
else:
|
||||||
main_selections.append('standard7')
|
main_selections.append('standard7')
|
||||||
cmd = r'{}\Installers\Extras\Bundles\{}.exe'.format(
|
if main_selections:
|
||||||
global_vars['BaseDir'],
|
# Only run if base and/or standard are enabled
|
||||||
'-'.join(main_selections),
|
cmd = r'{}\Installers\Extras\Bundles\{}.exe'.format(
|
||||||
)
|
global_vars['BaseDir'],
|
||||||
popen_objects.append(popen_program([cmd]))
|
'-'.join(main_selections),
|
||||||
|
)
|
||||||
|
popen_objects.append(popen_program([cmd]))
|
||||||
|
|
||||||
# Extra selections
|
# Extra selections
|
||||||
extra_selections = {}
|
extra_selections = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue