forked from ScoDoc/ScoDoc
Fix: gestion logos
This commit is contained in:
parent
aa609aa0cf
commit
9b27503d01
@ -151,6 +151,8 @@ class Logo:
|
||||
Le format est renseigné au moment de la lecture (select) ou de la création (create) de l'objet
|
||||
"""
|
||||
self.logoname = secure_filename(logoname)
|
||||
if not self.logoname:
|
||||
self.logoname = "*** *** nom de logo invalide *** à changer ! *** ***"
|
||||
self.scodoc_dept_id = dept_id
|
||||
self.prefix = prefix or ""
|
||||
if self.scodoc_dept_id:
|
||||
|
Loading…
Reference in New Issue
Block a user