Commit 59bb515c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix attribute error

parent a43a1ec1
......@@ -84,8 +84,9 @@ def _block(ast, scene):
direc="in"
if fpar['direction']=='in'
else 'in/out',
asn1=fpar['type']
.ReferencedTypeName.replace('-', '_'))
asn1=getattr(fpar['type'],
'ReferencedTypeName', 'ERROR')
.replace('-', '_'))
for fpar in proc.fpar]))
for proc in ast.parent.procedures]
if signals or procedures:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment