fixed typo

This commit is contained in:
2022-12-17 06:32:21 +01:00
parent 897acb9521
commit 7fd9eb78c0

View File

@@ -91,7 +91,7 @@ def portfolio(request):
total_valeur += item.valeur
total_pv += item.plus_value
if total_valeur == 0:
total_pc_value
total_pc_value = 0
else:
total_pc_value = total_pv / total_valeur * 100
total_rdt += item.rendement