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