Spaces:
Sleeping
Sleeping
Update src/graphics.py
Browse files- src/graphics.py +1 -1
src/graphics.py
CHANGED
|
@@ -31,7 +31,7 @@ def make_background(titre, sous_titre, texte_ecran, theme, logo_path, logo_pos,
|
|
| 31 |
try:
|
| 32 |
print(f"[Fond] Création du fond - Thème: {theme}")
|
| 33 |
if not titre:
|
| 34 |
-
titre = "
|
| 35 |
if not theme or theme not in THEMES:
|
| 36 |
theme = list(THEMES.keys())[0]
|
| 37 |
print(f"[Fond] Thème invalide, utilisation par défaut: {theme}")
|
|
|
|
| 31 |
try:
|
| 32 |
print(f"[Fond] Création du fond - Thème: {theme}")
|
| 33 |
if not titre:
|
| 34 |
+
titre = ""
|
| 35 |
if not theme or theme not in THEMES:
|
| 36 |
theme = list(THEMES.keys())[0]
|
| 37 |
print(f"[Fond] Thème invalide, utilisation par défaut: {theme}")
|