diff --git a/app/models/blocs.py b/app/models/blocs.py index 53eaf06..b6afc67 100644 --- a/app/models/blocs.py +++ b/app/models/blocs.py @@ -12,7 +12,7 @@ class MyBlocs: def new(blocName, blocType, theme): mybloc = None - if blocType in MyBlocs.listTypeBlocs(theme): + if blocType in MyBlocs.list_type_blocs(theme): mybloc=dict() mybloc['name'] = str(blocName) mybloc['type'] = str(blocType)