From 3347c425d9aed9457bc2d92269666eb1bcdbbcd2 Mon Sep 17 00:00:00 2001 From: Randall Winkhart Date: Fri, 7 Jul 2023 10:26:13 -0400 Subject: [PATCH] Fixed attempting to install extensions resulting in an error Former-commit-id: 821b770fdcea74c51b4077c2c956060340827b81 Former-commit-id: 5ca345ef9391b834d7b6d276ec2ff552a3bf942b --- lib/stweak.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stweak.py b/lib/stweak.py index 64b417a..0d82d91 100644 --- a/lib/stweak.py +++ b/lib/stweak.py @@ -370,7 +370,7 @@ def extension_downloader(): _choice = curses_radio(_extensions, 'select an extension for more info') if _choice == len(_extensions)-1: return False, False - _selected = _extensions[_choice-1] + _selected = _extensions[_choice] _choice = curses_radio(('no', 'yes'), f"install {_selected}?\n\n\n\n\ndescription: " f"{_pointer.get(_selected, 'desc')}\n\nusage: " f"{_pointer.get(_selected, 'usage')}")