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

This commit is contained in:
Solderpunk 2020-08-18 21:13:26 +02:00
parent 72754114f4
commit 03be5bfebf
1 changed files with 1 additions and 1 deletions

View File

@ -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):