From d15488478db52d4023db49c4629b4778933dbcb5 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 21 Jan 2014 20:49:56 +0100 Subject: [PATCH] Fixed #1195: Correct path to circle.png on ballot paper (assignment and motion). --- openslides/assignment/views.py | 2 +- openslides/motion/pdf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openslides/assignment/views.py b/openslides/assignment/views.py index 2bd349076..833fe4ea9 100644 --- a/openslides/assignment/views.py +++ b/openslides/assignment/views.py @@ -506,7 +506,7 @@ class AssignmentPollPDF(PDFView): pdf_document.build(story) def append_to_pdf(self, story): - imgpath = os.path.join(settings.SITE_ROOT, 'static/img/circle.png') + imgpath = os.path.join(settings.SITE_ROOT, 'core', 'static', 'img', 'circle.png') circle = "  " % imgpath cell = [] cell.append(Spacer(0, 0.8 * cm)) diff --git a/openslides/motion/pdf.py b/openslides/motion/pdf.py index 3eb09b93d..17963400d 100644 --- a/openslides/motion/pdf.py +++ b/openslides/motion/pdf.py @@ -258,7 +258,7 @@ def all_motion_cover(pdf, motions): def motion_poll_to_pdf(pdf, poll): - imgpath = os.path.join(settings.SITE_ROOT, 'static/img/circle.png') + imgpath = os.path.join(settings.SITE_ROOT, 'core', 'static', 'img', 'circle.png') circle = "  " % imgpath cell = [] cell.append(Spacer(0, 0.8 * cm))