Merge pull request #1534 from CarlosNihelton/fix-none-wslsetupoptions
Fix wslsetupotions being None
This commit is contained in:
commit
d3099728ea
|
@ -225,8 +225,8 @@ class ConfigureController(SubiquityController):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
cmd = []
|
cmd = []
|
||||||
if self.model.wslsetupoptions.wslsetupoptions.\
|
opts = self.model.wslsetupoptions.wslsetupoptions
|
||||||
install_language_support_packages is True:
|
if opts is None or opts.install_language_support_packages is True:
|
||||||
cmd = [aptCommand, "install", "-y"]
|
cmd = [aptCommand, "install", "-y"]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue