Skip to content

Commit b4f5576

Browse files
committed
small fixes to output scripts
1 parent 96c1c91 commit b4f5576

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/to_contribs_txt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
contribs_fields_list = [
1414
'name', 'authors', 'url', 'categories', 'sentence', 'paragraph',
1515
'version', 'prettyVersion', 'minRevision', 'maxRevision', 'imports',
16-
'compatibleModesList', 'id', 'type', 'download'
16+
'modes', 'compatibleModesList', 'id', 'type', 'download'
1717
]
1818

1919

scripts/to_sources_jsons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def to_sources_dict(contribution_dict):
5050
for field in json_fields_mode if field in contribution_dict
5151
}
5252

53-
# put authors and categories in list
53+
# put authors in list
5454
sources_dict['authors'] = [sources_dict['authors']] if sources_dict['authors'] else sources_dict['authors']
5555

5656
sources_dict['packages'] = [

0 commit comments

Comments
 (0)