mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-22 00:00:25 +01:00
Update descriptionList.py
Correcting the following issues (https://github.com/Schrolli91/BOSWatch/issues/217): -Using global for 'fmsDescribtionList' but no assignment is done -Using global for 'zveiDescribtionList' but no assignment is done -Using global for 'ricDescribtionList' but no assignment is done
This commit is contained in:
parent
a4c9d8197f
commit
c3398ccd3f
|
|
@ -106,13 +106,10 @@ def getDescription(typ, data):
|
|||
logging.debug("look up description lists")
|
||||
try:
|
||||
if typ == "FMS":
|
||||
global fmsDescribtionList
|
||||
resultStr = fmsDescribtionList[data]
|
||||
elif typ == "ZVEI":
|
||||
global zveiDescribtionList
|
||||
resultStr = zveiDescribtionList[data]
|
||||
elif typ == "POC":
|
||||
global ricDescribtionList
|
||||
resultStr = ricDescribtionList[data[:-1]] # MainRIC
|
||||
resultStr += " " + ricDescribtionList[data] # SubRIC
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue