Set AFOS message WFO from product/wfo string
This commit is contained in:
parent
902ef26af3
commit
b1401a86c8
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,6 @@ class AFOSMessageParser():
|
||||||
self.message.vtec_end = vtec.timestamp_end
|
self.message.vtec_end = vtec.timestamp_end
|
||||||
self.message.vtec_type = vtec.typeof
|
self.message.vtec_type = vtec.typeof
|
||||||
self.message.actions = vtec.actions
|
self.message.actions = vtec.actions
|
||||||
self.message.wfo = vtec.wfo
|
|
||||||
self.message.phenom = vtec.phenom
|
self.message.phenom = vtec.phenom
|
||||||
self.message.sig = vtec.sig
|
self.message.sig = vtec.sig
|
||||||
self.message.etn = vtec.etn
|
self.message.etn = vtec.etn
|
||||||
|
@ -250,6 +249,7 @@ class AFOSMessageParser():
|
||||||
|
|
||||||
if match is not None:
|
if match is not None:
|
||||||
self.message.product = match['product']
|
self.message.product = match['product']
|
||||||
|
self.message.wfo = match['wfo']
|
||||||
self.state = AFOSMessageParserState.BODY
|
self.state = AFOSMessageParserState.BODY
|
||||||
|
|
||||||
def parse_body(self, line: str):
|
def parse_body(self, line: str):
|
||||||
|
|
Loading…
Add table
Reference in a new issue