Set AFOS message WFO from product/wfo string

This commit is contained in:
XANTRONIX Industrial 2025-02-21 17:17:05 -05:00
parent 902ef26af3
commit b1401a86c8

View file

@ -217,7 +217,6 @@ class AFOSMessageParser():
self.message.vtec_end = vtec.timestamp_end
self.message.vtec_type = vtec.typeof
self.message.actions = vtec.actions
self.message.wfo = vtec.wfo
self.message.phenom = vtec.phenom
self.message.sig = vtec.sig
self.message.etn = vtec.etn
@ -250,6 +249,7 @@ class AFOSMessageParser():
if match is not None:
self.message.product = match['product']
self.message.wfo = match['wfo']
self.state = AFOSMessageParserState.BODY
def parse_body(self, line: str):