Fix: url photo inconnue

This commit is contained in:
Emmanuel Viennet 2022-10-05 15:48:02 +02:00
parent 7dcebf4b83
commit 91e77dd2dc

View File

@ -128,7 +128,7 @@ def etud_photo_url(etud: dict, size="small", fast=False) -> str:
if scu.CONFIG.PUBLISH_PORTAL_PHOTO_URL: if scu.CONFIG.PUBLISH_PORTAL_PHOTO_URL:
photo_url = ext_url photo_url = ext_url
else: else:
photo_url = UNKNOWN_IMAGE_URL photo_url = scu.ScoURL() + "/" + UNKNOWN_IMAGE_URL
return photo_url return photo_url