fix a couple of crashes on pressing escape

This commit is contained in:
Michael Hudson-Doyle 2017-09-18 13:52:45 +12:00
parent a207eb05c4
commit f9c1b4294f
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ class GuidedFilesystemView(BaseView):
def guided(self, btn):
self.controller.guided()
def cancel(self, btn):
def cancel(self, btn=None):
self.controller.cancel()
@ -83,7 +83,7 @@ class GuidedDiskSelectionView(BaseView):
])
super().__init__(lb)
def cancel(self, btn):
def cancel(self, btn=None):
self.controller.default()
def choose_disk(self, btn, disk):