|
|
@@ -69,6 +69,9 @@ class Message(BaseMessage): |
|
|
|
panel_data = None |
|
|
|
"""The panel data field associated with this message.""" |
|
|
|
|
|
|
|
|
|
|
|
_regex = re.compile('^(!KPM:){0,1}(\[[a-fA-F0-9\-]+\]),([a-fA-F0-9]+),(\[[a-fA-F0-9]+\]),(".+")$') |
|
|
|
|
|
|
|
def __init__(self, data=None): |
|
|
|
""" |
|
|
|
Constructor |
|
|
@@ -78,8 +81,6 @@ class Message(BaseMessage): |
|
|
|
""" |
|
|
|
BaseMessage.__init__(self, data) |
|
|
|
|
|
|
|
self._regex = re.compile('^(!KPM:){0,1}(\[[a-fA-F0-9\-]+\]),([a-fA-F0-9]+),(\[[a-fA-F0-9]+\]),(".+")$') |
|
|
|
|
|
|
|
if data is not None: |
|
|
|
self._parse_message(data) |
|
|
|
|
|
|
|