commit d39cddcc8489121cd150836177736b8bbdd24015
parent 03be5bfebffc40bf778e7a9d37e649a588d63bbd
Author: Solderpunk <solderpunk@sdf.org>
Date: Tue, 18 Aug 2020 21:14:04 +0200
Make default MIME handlers more generic.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/av98.py b/av98.py
@@ -86,8 +86,7 @@ _MIME_HANDLERS = {
"audio/ogg": "ogg123 %s",
"image/*": "feh %s",
"text/html": "lynx -dump -force_html %s",
- "text/plain": "cat %s",
- "text/gemini": "cat %s",
+ "text/*": "cat %s",
}
# monkey-patch Gemini support in urllib.parse