From f1b9ef2c21d484ca2569e4ed2bc384208b543f20 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 21 Mar 2018 19:07:00 +0100 Subject: [PATCH] jp (output/template): fixed template output (media_dir was missing) --- frontends/src/jp/output_template.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontends/src/jp/output_template.py b/frontends/src/jp/output_template.py index 4dcfd027..9dd81a49 100644 --- a/frontends/src/jp/output_template.py +++ b/frontends/src/jp/output_template.py @@ -48,6 +48,8 @@ class Template(object): command's template_data_mapping attribute will be used if it exists to convert data to a dict usable by the template. """ + # media_dir is needed for the template + self.host.media_dir = self.host.bridge.getConfig('', 'media_dir') cmd = self.host.command try: template_path = cmd.TEMPLATE