correction rapport référencé avant défini

This commit is contained in:
2019-02-27 22:29:57 +01:00
parent 145501fe81
commit edd77fe431

View File

@@ -104,6 +104,8 @@ def dossier_view(request):
if nodossier.startswith('PL'): if nodossier.startswith('PL'):
# lire rapport de rdf # lire rapport de rdf
rapport = get_rapport_by_no(request, nodossier) rapport = get_rapport_by_no(request, nodossier)
else:
rapport = []
# select background color according to society # select background color according to society
bg_color = "bg-%s" % societe bg_color = "bg-%s" % societe