8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 11:23:10 +00:00

Add exception name

This commit is contained in:
chapeau 2020-08-15 13:27:25 +02:00 committed by Gabriel Detraz
parent 546656e9f9
commit 3a386b90ae

View file

@ -117,7 +117,7 @@ def about_page(request):
try:
president = Mandate.get_mandate().president.get_full_name()
except:
except Mandate.DoesNotExist:
president = _("Unable to get the information.")
return render(