AV-98-fork

A fork of https://tildegit.org/solderpunk/AV-98
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit 03be5bfebffc40bf778e7a9d37e649a588d63bbd
parent 72754114f4aee163c751fe44dab05eddf07456e7
Author: Solderpunk <solderpunk@sdf.org>
Date:   Tue, 18 Aug 2020 21:13:26 +0200

Use proper handler resolution logic for the text/gemini case (so that settings for text/* can apply).

Diffstat:
Mav98.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/av98.py b/av98.py @@ -867,7 +867,7 @@ Slow internet connection? Use 'set timeout' to be more patient.""") self.index_index = -1 if display: - cmd_str = _MIME_HANDLERS["text/gemini"] + cmd_str = self._get_handler_cmd("text/gemini") subprocess.call(shlex.split(cmd_str % self.idx_filename)) def _format_geminiitem(self, index, gi, url=False):