diff options
Diffstat (limited to 'browser/fsm.py')
-rw-r--r-- | browser/fsm.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/browser/fsm.py b/browser/fsm.py index eccfc6e..c8c4e85 100644 --- a/browser/fsm.py +++ b/browser/fsm.py @@ -2,6 +2,8 @@ import html import sys import urllib.parse +from util import resource_path + class StackFSM(object): """ @@ -105,7 +107,7 @@ class Parser(object): if url_parts.scheme in ('gemini', ''): external = '' else: - external = open('external_link.svg').read() + external = open(resource_path('resources/external_link.svg')).read() if len(parts) == 1: text = url else: |