diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:25:47 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-08 14:25:47 +0100 |
commit | 681cac50c996aa50e35bd70806301e091bd1344a (patch) | |
tree | f4b4cc831c84ee6ccdb06e23cc8ddcbcf205edc1 | |
parent | b90fab373903ad8c103055f4708d8e73fa542515 (diff) | |
download | lorry-controller-681cac50c996aa50e35bd70806301e091bd1344a.tar.gz |
debug
-rw-r--r-- | lorrycontroller/status.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lorrycontroller/status.py b/lorrycontroller/status.py index 310a03e..806e651 100644 --- a/lorrycontroller/status.py +++ b/lorrycontroller/status.py @@ -53,6 +53,9 @@ class StatusRenderer(object): modified_status['links'] = False modified_status['publish_failures'] = publish_failures logging.info('FOO2 %s', modified_status) + template_example = bottle.template('I have to + publish?{{publish_failures}}', **modified_status) + logging.info('FOO3 %s', template_example) html = self.render_status_as_html(template, modified_status) # We write the file first to a temporary file and then |