From 95cc769c235c1a1cc0b843304fb48f0cbaa36640 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Thu, 6 Jul 2023 12:17:43 -0400 Subject: [PATCH] Fixed menu options not related to extension management throwing errors Former-commit-id: a6d55fa0f2e072d823b13ac69f8ff27251b3f3c0 Former-commit-id: 847eeb222459802dc3b8ac778c6b89243048fa4f --- lib/stweak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stweak.py b/lib/stweak.py index c632181..8d8ae25 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -494,7 +494,7 @@ def global_menu(_device_type, _top_message): _exit_signal = True curses_terminate(_term_message) # if root is needed for extension management... - if _ext_name: + if _choice == 7 and _ext_name: if _action: # install with privilege escalation (outside of curses) from tempfile import gettempdir