Commit dd60b7a7 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix minor issues

parent 40af3e04
......@@ -238,8 +238,8 @@ package {process_name} is'''.format(process_name=process_name,
'use Interfaces.C.Strings;'
if simu else '')]
dll_api = []
if simu:
dll_api = []
ads_template.append('-- DLL Interface')
dll_api.append('-- DLL Interface to remotely change internal data')
# Add function allowing to trace current state as a string
......
......@@ -181,7 +181,7 @@ class Input(HorizontalSymbol):
if '(' in unicode(self):
# Input parameter: return the list of variables of this type
input_name = unicode(self).split('(')[0].strip().lower()
asn1_filter = [sig['type'] for sig in CONTEXT.input_signals if
asn1_filter = [sig.get('type') for sig in CONTEXT.input_signals if
sig['name'] == input_name]
return variables_autocompletion(self, asn1_filter)
else:
......
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