diff --git a/charters-dev.py b/charters-dev.py index 9c027f0..72aa1b4 100644 --- a/charters-dev.py +++ b/charters-dev.py @@ -34,8 +34,8 @@ i.update({"state":"Advance notice"}) #del i["labels"] fields = {'name'} - l = [{k:v for (k,v) in label.items() if k in fields} for label in i["labels"]] - i.update({"labels":l}) + l = [{k:v for (k,v) in label.items() if k in fields} for label in i["labels"]] + i.update({"labels":l}) #print (i['title']+' '+i['state']) # Show json