Commit d8a2ae6b0994efce15072e7b6570077d200c4c0d

Authored by Antoine Goutenoir
1 parent 809d6747
Exists in master

Provide configuration as Dictionary as well.

Time to decide about the emission models API!
Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
flaskr/content.py
... ... @@ -21,6 +21,7 @@ class Struct(object):
21 21  
22 22 content = Struct(content_dict)
23 23  
  24 +
24 25 # For Python3?
25 26 # def dict2obj(d):
26 27 # """
... ...
flaskr/forms.py
... ... @@ -7,7 +7,7 @@ from wtforms import \
7 7 from wtforms import validators
8 8  
9 9 from .models import User
10   -from .content import content
  10 +from .content import content_dict as content
11 11  
12 12 form_content = content['estimate']['form']
13 13  
... ...