diff options
| -rwxr-xr-x | templating/templating.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/templating/templating.py b/templating/templating.py index d4cb7f8..a01ff5d 100755 --- a/templating/templating.py +++ b/templating/templating.py @@ -64,7 +64,7 @@ class MyHandler(http.server.BaseHTTPRequestHandler):                  length = 0              content = self.rfile.read(int(length)).decode('UTF-8')              template = Template(content) -            self.body = template.render(options=self.options).encode('UTF-8') +            self.body = template.render(objects=objects, options=self.options).encode('UTF-8')              self.send_response(200)              self.send_header('Cache-Control','max-age=30, s-maxage=5')          except Exception as err: | 
