diff options
author | luxagraf <sng@luxagraf.net> | 2015-03-09 15:56:21 +0000 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-03-09 15:56:21 +0000 |
commit | a1404266bd7ff7e94a5d5090933d705ff7991d68 (patch) | |
tree | 96d2ee81b8b977503181d715194de41dcfea16da /app | |
parent | d0275c466684ef73fe7ce90e2b926fa150732b25 (diff) |
added template for readme and fixed output function
Diffstat (limited to 'app')
-rw-r--r-- | app/builder/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
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): |