Walter Hupfeld 1 year ago
parent
commit
ecf9bea55a
  1. 1
      frontend/views.py

1
frontend/views.py

@ -93,6 +93,7 @@ def download(request):
so = str(round(context['bilanzSOdata']/context['bilanzGESdata']*100))
verteilung = "{"+ew+"/Energiewirtschaft,"+ind+"/Industrie,"
verteilung += gb+"/Gebäude,"+vk+"/Verkehr,"+lw+"/Landwirtschaft,"+so+"/Sonstiges"+"}"
print (verteilung)
context['verteilung']=verteilung
return render_to_pdf(request, template_name, context, filename='klimapfad.pdf')

Loading…
Cancel
Save