From c7de7cb605734655e29c6504cb6b952024b230a4 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 3 Feb 2016 20:24:20 -0500 Subject: fixed another build bug --- app/builder/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3