From 8cf792e7a09233742ba5d98b5ea9edb2c51a9241 Mon Sep 17 00:00:00 2001 From: "Starlone (Estagiario)" Date: Thu, 8 Jul 2010 13:51:03 +0000 Subject: [PATCH] Alterando caminho das imagens do relatorio --- sigi/apps/convenios/reports.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sigi/apps/convenios/reports.py b/sigi/apps/convenios/reports.py index 18e6722..12f00d0 100644 --- a/sigi/apps/convenios/reports.py +++ b/sigi/apps/convenios/reports.py @@ -26,7 +26,8 @@ class ReportDefault(Report): class band_page_header(ReportBand): height = 4.2*cm - BASE_DIR = os.path.abspath(os.path.dirname('') + '..') + BASE_DIR = os.path.abspath(os.path.dirname(__file__) + '../../../../') + #BASE_DIR = os.path.abspath(os.getcwd() + '../..') elements = [ Image(filename= BASE_DIR + '/media/images/logo-interlegis.jpg',