diff --git a/cli/fileformat.py b/cli/fileformat.py index 74e3b47..adfd0bb 100644 --- a/cli/fileformat.py +++ b/cli/fileformat.py @@ -13,7 +13,7 @@ fields = { ('series', 's'), ('description', 's'), # TODO picture, thumbnail ('references', 'd')], 'person': - [('id', 's'), ('first_name', 's'), ('last_name', 's')], + [('id', 's'), ('firstname', 's'), ('lastname', 's')], 'category': [('id', 's'), ('name', 's'), ('placement', 'l')] } @@ -34,7 +34,7 @@ action_fields = { 'required': ['isbn'] }, 'new-person': { 'type': 'person', - 'required': ['id', 'first_name', 'last_name'] }, + 'required': ['id', 'firstname', 'lastname'] }, 'edit-person': { 'type': 'person', 'required': ['id'] },