summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-02-03 20:24:20 -0500
committerluxagraf <sng@luxagraf.net>2016-02-03 20:24:20 -0500
commitc7de7cb605734655e29c6504cb6b952024b230a4 (patch)
tree030f546e3afd0e9345869db2e487c4e7e3aa2ce2
parentf3514583270b467b16126f718d21f688532b68d2 (diff)
fixed another build bug
-rw-r--r--app/builder/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/builder/base.py b/app/builder/base.py
index 6dd32e2..9dc0533 100644
--- a/app/builder/base.py
+++ b/app/builder/base.py
@@ -340,7 +340,7 @@ class BuildProjects(Build):
'MEDIA_URL': settings.BAKED_MEDIA_URL,
'IMAGES_URL': settings.BAKED_IMAGES_URL
})
- t = render_to_string('details/%s.html' % (proj['slug']), c).encode('utf-8')
+ t = render_to_string('details/%s.html' % (proj['slug'].split("/")[1]), c).encode('utf-8')
path = 'projects/%s/' % (proj['slug'])
self.write_file(path, t)