fix t 624 (contrib étudiant)

This commit is contained in:
Jean-Marie Place 2024-08-27 07:07:48 +02:00
parent 91af5704dc
commit 08a585aa1b

View File

@ -239,7 +239,7 @@ class LogoForm(FlaskForm):
if self.do_delete.data and self.can_delete:
return LogoDelete.build_action(self.data)
if self.upload.data and self.validate():
if self.upload.data:
return LogoUpdate.build_action(self.data)
if self.do_rename.data and self.validate():
return LogoRename.build_action(self.data)