From 91e77dd2dcc4609d5900200d2982c6f6adfac55d Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Wed, 5 Oct 2022 15:48:02 +0200 Subject: [PATCH] Fix: url photo inconnue --- app/scodoc/sco_photos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scodoc/sco_photos.py b/app/scodoc/sco_photos.py index b16335ae..c0f3cbd8 100644 --- a/app/scodoc/sco_photos.py +++ b/app/scodoc/sco_photos.py @@ -128,7 +128,7 @@ def etud_photo_url(etud: dict, size="small", fast=False) -> str: if scu.CONFIG.PUBLISH_PORTAL_PHOTO_URL: photo_url = ext_url else: - photo_url = UNKNOWN_IMAGE_URL + photo_url = scu.ScoURL() + "/" + UNKNOWN_IMAGE_URL return photo_url