mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 15:20:16 +01:00
DescriptionList: fix lookup for ric and subric
This commit is contained in:
parent
5ccd6d8cc0
commit
a4c218887b
|
|
@ -113,9 +113,8 @@ def getDescription(typ, data):
|
|||
resultStr = zveiDescribtionList[data]
|
||||
elif typ == "POC":
|
||||
global ricDescribtionList
|
||||
resultStr = ricDescribtionList[data]
|
||||
if not resultStr:
|
||||
resultStr = ricDescribtionList[data[:-1]]
|
||||
resultStr = ricDescribtionList[data[:-1]] # MainRIC
|
||||
resultStr += " " + ricDescribtionList[data] # SubRIC
|
||||
else:
|
||||
logging.warning("Invalid Typ: %s", typ)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue