From 1542e5e898905f608b874decc8fb23b8ed88b5af Mon Sep 17 00:00:00 2001 From: Mathieu PATUREL Date: Sat, 18 Mar 2017 14:39:17 +1100 Subject: [PATCH] :bug: in functions.py@get_resource --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index ca2e9e9..4b1b830 100644 --- a/functions.py +++ b/functions.py @@ -133,7 +133,7 @@ def get_style(color_scheme): def get_resource(resource): if os.path.exists(os.path.join(sublime.packages_path(), '..', resource)): - with open(resource) as fp: + with open(os.path.join(sublime.packages_path(), '..', resource)) as fp: return fp.read() else: return sublime.load_resource(resource)