Some code cleanup and clarification in comments.
This commit is contained in:
parent
2640bd057a
commit
4bd567386f
12 changed files with 351 additions and 66 deletions
|
|
@ -124,7 +124,8 @@ class IMC2Protocol(StatefulTelnetProtocol):
|
|||
# Bombs away.
|
||||
for mapping in mappings:
|
||||
if mapping.channel:
|
||||
comsys.send_cmessage(mapping.channel, message)
|
||||
comsys.send_cmessage(mapping.channel, message,
|
||||
from_external="IMC2")
|
||||
except IMC2ChannelMapping.DoesNotExist:
|
||||
# No channel mapping found for this message, ignore it.
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue