Fixed error when declining extension download

Former-commit-id: 02933773afc9f542ba523f0ffe0c80af33673300
Former-commit-id: 50b2953f7af0351bda5f4c89b114db181ced0359
This commit is contained in:
2023-07-06 10:17:30 -04:00
parent a00beeea45
commit 1cb5386756
+4 -2
View File
@@ -384,7 +384,8 @@ def extension_downloader():
# set permissions under active user
chmod(_exe_dir, 0o755)
chmod(_ini_dir, 0o644)
return False, _selected
return False, _selected
return False, False
# change ownership and install using system commands - requires running outside of curses (text input)
@@ -410,7 +411,8 @@ def extension_menu():
_choice = curses_radio(('download/update extensions', 'remove extensions', 'exit/done'), 'extension management')
if _choice == 0:
_term_message, _ext_name = extension_downloader()
break
if _ext_name:
break
elif _choice == 1:
pass
else: