Sfoglia il codice sorgente

aggiunte modifiche alla configurazione base

mauro 1 anno fa
parent
commit
832cd33fed
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      comunicazione/views.py

+ 1 - 1
comunicazione/views.py

@@ -109,6 +109,7 @@ class ServizioMail:
     #rendering del soggetto
     soggetto = template_from_string(self.soggetto)
     soggetto_render = soggetto.render(self.data)
+
     if self.debug: print("soggetto",soggetto)
 
     oggetto = template_from_string(self.oggetto)
@@ -121,7 +122,6 @@ class ServizioMail:
 
     if oggetto_render:
       if self.debug: print('oggetto render',oggetto_render)
-      ora = datetime.now.strftime("%d/%m/%Y, %H:%M:%S")
 
       for tt in self._to_complete:
         ttl = [tt,]