Skip to content

Commit 5223d86

Browse files
ajustes pontuais
1 parent 815d50e commit 5223d86

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

0 Bytes
Binary file not shown.

tela.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,6 @@ def carregar_imagens(self):
9595
print(f"Erro ao carregar logo.png: {e}")
9696
self.logo_image = None
9797

98-
# Carregar Imagem de Fundo
99-
try:
100-
background_path = "image/icons/papel.png"
101-
if os.path.exists(background_path):
102-
img_bg = Image.open(background_path)
103-
self.foto_fundo = ctk.CTkImage(light_image=img_bg, dark_image=img_bg, size=img_bg.size)
104-
print(f"Imagem de fundo '{background_path}' carregada.")
105-
else:
106-
print(f"Aviso: Imagem de fundo não encontrada em '{background_path}'.")
107-
self.foto_fundo = None
108-
except Exception as e:
109-
self.foto_fundo = None
110-
print(f"Erro ao carregar imagem de fundo: {e}")
111-
11298
# Carregar Ícones dos Botões
11399
self.icones = {}
114100
icon_folder = "icons"

0 commit comments

Comments
 (0)