Projet

Général

Profil

« Précédent | Suivant » 

Révision 468d3efe

Ajouté par Jérôme Schneider il y a plus de 9 ans

skel: fix configuration template

Voir les différences:

mandaye/skel/example.module/config.py
100 100
data_dir = config.get('dirs', 'data_dir')
101 101

  
102 102
# template vars
103
template_vars = {}
103
template_vars = {{}}
104 104
if config.has_section('template_vars'):
105 105
    for option in config.options('template_vars'):
106 106
        template_vars[option] = config.get('template_vars', option)

Formats disponibles : Unified diff