# HG changeset patch # User Goffi # Date 1521655620 -3600 # Node ID 0cb32e503aff14518d2d2b35670e64f87944ffb2 # Parent cbbf2ff2ef3f5bdc54c1d0034e31dec6dd766afa jp (output/template): fixed template output (media_dir was missing) diff -r cbbf2ff2ef3f -r 0cb32e503aff frontends/src/jp/output_template.py --- a/frontends/src/jp/output_template.py Sun Mar 18 11:26:01 2018 +0100 +++ b/frontends/src/jp/output_template.py Wed Mar 21 19:07:00 2018 +0100 @@ -48,6 +48,8 @@ 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