Use correct handler for text/gemini content.

This commit is contained in:
Solderpunk 2020-08-11 22:01:47 +02:00
parent 96cf8e13fe
commit ce834dd231
1 changed files with 1 additions and 1 deletions

View File

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