mirror of
https://github.com/MathiasDPX/grainParisArt.git
synced 2025-01-08 16:16:40 +00:00
Add custom placeholder
This commit is contained in:
parent
a0a5c688d3
commit
d72f14ba00
2 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ class Movie:
|
|||
try:
|
||||
self.affiche = data["poster"]["url"]
|
||||
except:
|
||||
self.affiche = "https://upload.wikimedia.org/wikipedia/commons/a/a3/Image-not-found.png" #TODO: Remplacer par une joli image qui fait 1067x1600
|
||||
self.affiche = "/static/images/nocontent.png"
|
||||
|
||||
self.cast = []
|
||||
|
||||
# Noms des acteurs
|
||||
|
|
BIN
static/images/nocontent.png
Normal file
BIN
static/images/nocontent.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
Loading…
Reference in a new issue