mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 04:46:34 -04:00
Fixed error when declining extension download
Former-commit-id: 02933773afc9f542ba523f0ffe0c80af33673300 Former-commit-id: 50b2953f7af0351bda5f4c89b114db181ced0359
This commit is contained in:
+4
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user