summary refs log tree commit diff
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2023-02-23 17:43:29 -0500
committerZach DeCook <zachdecook@librem.one>2023-02-23 17:43:29 -0500
commitf9170a02adcda293c40a572be1e6c8d6dd058b98 (patch)
treef5064456e6aa54629ad0330ed6f934e8cd049d96
parent60ba340559cbdf8bbe660d35f1f01355c468faca (diff)
downloadbrowset-master.tar.gz
Unsupported Protocol: Fix error message showing HEAD master
-rwxr-xr-xbrowset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/browset.py b/browset.py
index d2c23b2..ef24671 100755
--- a/browset.py
+++ b/browset.py
@@ -108,7 +108,7 @@ class Browset(App):
         if protocol in protocols:
           (mime, fp) = protocols[protocol].get(url)
         else:
-          (mime, fp) = ("error", ["Unsupported protocol: " + protocol])
+          (mime, fp) = ("text/error", ["Unsupported protocol: " + protocol])
 
         self.query_one("#content").remove()