Commit 06660545 authored by Jameson Rollins's avatar Jameson Rollins

minor whitespace cleanup

parent c8854a35
......@@ -35,7 +35,7 @@ class CADriver(pcaspy.Driver):
value = self.getParam(channel)
if guarddb[channel]['type'] == 'enum':
if guarddb[channel].get('guardbool', False) and value == 0:
value = False
value = False
else:
value = guarddb[channel]['enums'][value]
return value
......
......@@ -322,7 +322,7 @@ for i in range(const.SPM_DIFF_COUNT):
'count': const.CHANNEL_NAME_LENGTH,
'value': [0],
}
for t in ['S','C','D']:
for t in ['S', 'C', 'D']:
# setpoint value, string representation
guarddb['SPM_DIFF'+str(i)+'_'+t] = {
'type': 'string',
......
......@@ -151,7 +151,7 @@ def sys2dot(system,
elif node == fpath[-1]:
color = 1
else:
color =5
color = 5
# set attributes
G.node[node]['label'] = label
......
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