1
0
forked from ScoDoc/ScoDoc

Merge pull request 'fix t 624 (contrib étudiant)' (#982) from jmplace/ScoDoc-Lille:ticket_624 into master

Reviewed-on: ScoDoc/ScoDoc#982
This commit is contained in:
Emmanuel Viennet 2024-08-27 23:35:15 +02:00
commit b071652aec

View File

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