forked from ScoDoc/ScoDoc
Fix: url photo inconnue
This commit is contained in:
parent
7dcebf4b83
commit
91e77dd2dc
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user