Skip to content
Snippets Groups Projects
Commit 45d2811d authored by Léo PIREZé's avatar Léo PIREZé
Browse files

(fix) - config_logos.py - Fix the impossibility of uploading a new logo

parent e415a525
Branches master
No related tags found
No related merge requests found
...@@ -241,7 +241,7 @@ class LogoForm(FlaskForm): ...@@ -241,7 +241,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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment