omarbajouk commited on
Commit
62bbb36
·
verified ·
1 Parent(s): 430125e

Update src/graphics.py

Browse files
Files changed (1) hide show
  1. 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 = "Titre CPAS"
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}")