Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2022-03-28 16:41:03 +0200
committerAnton Hvornum <anton@hvornum.se>2022-03-28 16:41:03 +0200
commit1bf6e20bdea743a4f6fedc077d69ae58b59901e1 (patch)
tree448381f255f879c85d46fef55fa606dbc832a7a4
parente873e30c39a29076f883a4ea8efbe05456b95b2d (diff)
moved GlobalMenu into lib/menu/global_menu.py instead
-rw-r--r--archinstall/lib/menu/__init__.py2
-rw-r--r--archinstall/lib/menu/global_menu.py (renamed from archinstall/lib/user_interaction/global_menu.py)2
2 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/menu/__init__.py b/archinstall/lib/menu/__init__.py
index fd83ee01..9b0adb8b 100644
--- a/archinstall/lib/menu/__init__.py
+++ b/archinstall/lib/menu/__init__.py
@@ -1,2 +1,2 @@
from .menu import Menu as Menu
-from .selection_menu import GlobalMenu as GlobalMenu \ No newline at end of file
+from .global_menu import GlobalMenu as GlobalMenu \ No newline at end of file
diff --git a/archinstall/lib/user_interaction/global_menu.py b/archinstall/lib/menu/global_menu.py
index 2001103a..3f57941a 100644
--- a/archinstall/lib/user_interaction/global_menu.py
+++ b/archinstall/lib/menu/global_menu.py
@@ -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