Correct method call name
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user