If the notes don't contain JSON, add the string to the notes key of _meta

pull/14093/head
Matt Harris 9 years ago
parent e5493fa631
commit f8e73714f6

@ -175,7 +175,10 @@ def main_list(options):
metadata = json.loads(description)
except TypeError:
metadata = {}
# print metadata
except ValueError:
metadata = {
'notes': description
}
if 'groups' in metadata:
# print metadata

Loading…
Cancel
Save