Fixed #1195: Correct path to circle.png on ballot paper (assignment and motion).

This commit is contained in:
Emanuel Schuetze 2014-01-21 20:49:56 +01:00
parent 5ddadbab6a
commit d15488478d
2 changed files with 2 additions and 2 deletions

View File

@ -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 = "<img src='%s' width='15' height='15'/>&nbsp;&nbsp;" % imgpath
cell = []
cell.append(Spacer(0, 0.8 * cm))

View File

@ -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 = "<img src='%s' width='15' height='15'/>&nbsp;&nbsp;" % imgpath
cell = []
cell.append(Spacer(0, 0.8 * cm))