DescriptionList: check if a description exists for ric w/o the subric

This commit is contained in:
Jan Bollacke 2017-04-27 14:39:23 +02:00
parent 4b296f1a39
commit de451ffc6f
No known key found for this signature in database
GPG key ID: 962547ACB939C2E9

View file

@ -113,6 +113,8 @@ def getDescription(typ, data):
elif typ == "POC":
global ricDescribtionList
resultStr = ricDescribtionList[data]
if not resultStr:
resultStr = ricDescribtionList[data[:-1]]
else:
logging.warning("Invalid Typ: %s", typ)