Skip to content

Commit f340c55

Browse files
authored
Merge pull request #38 from edanalytics/fix/missing_descriptor_description
Fix missing descriptor description
2 parents 7c8c395 + ee2dc47 commit f340c55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lightbeam/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async def load_descriptors_values(self):
294294
descriptor = ""
295295
for key in v.keys():
296296
if key.endswith("Id"): descriptor = key[0:-2]
297-
self.descriptor_values.append([descriptor, v["namespace"], v["codeValue"], v["shortDescription"], v["description"]])
297+
self.descriptor_values.append([descriptor, v["namespace"], v["codeValue"], v["shortDescription"], v.get("description", "")])
298298

299299
# save
300300
if self.lightbeam.track_state:

0 commit comments

Comments
 (0)