Broken project to implement a cross-protocol browser in textual
Unsupported Protocol: Fix error message showing
Zach DeCook 2023-02-23
parent 60ba340 · commit f9170a0
-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()