Merge pull request #857 from xnox/fix-serial-crash

welcome: fix crash on serial ip addresses
This commit is contained in:
Michael Hudson-Doyle 2020-10-21 11:46:19 +13:00 committed by GitHub
commit 2b141380e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class WelcomeController(SubiquityTuiController):
language = self.model.selected_language
serial = self.app.opts.run_on_serial
if serial:
ips = get_global_addresses()
ips = get_global_addresses(self.app)
else:
ips = None
return WelcomeView(self, language, serial, ips)