summaryrefslogtreecommitdiff
path: root/giscanner/mallardwriter.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/mallardwriter.py')
-rw-r--r--giscanner/mallardwriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/mallardwriter.py b/giscanner/mallardwriter.py
index 65123a88..327ccc96 100644
--- a/giscanner/mallardwriter.py
+++ b/giscanner/mallardwriter.py
@@ -210,7 +210,7 @@ class MallardWriter(object):
top_srcdir = os.environ['UNINSTALLED_INTROSPECTION_SRCDIR']
template_dir = os.path.join(top_srcdir, 'giscanner')
else:
- template_dir = 'unimplemented'
+ template_dir = os.path.dirname(__file__)
file_name = os.path.join(template_dir, template_name)
file_name = os.path.abspath(file_name)