moved GlobalMenu into lib/menu/global_menu.py instead

This commit is contained in:
Anton Hvornum 2022-03-28 16:41:03 +02:00
parent e873e30c39
commit 1bf6e20bde
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
from .menu import Menu as Menu
from .selection_menu import GlobalMenu as GlobalMenu
from .global_menu import GlobalMenu as GlobalMenu

View File

@ -254,7 +254,7 @@ class GlobalMenu(GeneralMenu):
choice = Menu(prompt, ['yes', 'no'], default_option='yes').run()
if choice == 'no':
return self._select_harddrives()
return self._select_harddrives(old_harddrives)
return harddrives