fix wrong attr name in Station's properties outputs and inputs

This commit is contained in:
bkfox
2016-12-29 20:48:57 +01:00
parent 331152b0e9
commit b011df7dcd
3 changed files with 8 additions and 6 deletions

View File

@ -212,7 +212,7 @@ class Station(Nameable):
Return all active input ports of the station
"""
return self.port_set.filter(
direction = Port.Direction.Input,
direction = Port.Direction.input,
active = True
)
@ -222,7 +222,7 @@ class Station(Nameable):
Return all active output ports of the station
"""
return self.port_set.filter(
direction = Port.Direction.Output,
direction = Port.Direction.output,
active = True,
)