From a1404266bd7ff7e94a5d5090933d705ff7991d68 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 9 Mar 2015 15:56:21 +0000 Subject: added template for readme and fixed output function --- app/builder/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/builder/base.py b/app/builder/base.py index 5a479f3..d395239 100644 --- a/app/builder/base.py +++ b/app/builder/base.py @@ -148,8 +148,9 @@ class BuildWriting(Build): self.write_file('', t) def build_404(self): + c = Context() t = render_to_string('404.html', c).encode('utf-8') - self.write_file('', t) + self.write_file('', t, 'html', '404') class BuildPhotos(Build): def build(self): -- cgit v1.2.3-70-g09d2