Skip to content
Snippets Groups Projects
Commit 88958471 authored by Luigi Sbailo's avatar Luigi Sbailo
Browse files

Fix script to generate headers

parent b3a26150
No related branches found
No related tags found
1 merge request!123testing develop merge
...@@ -20,8 +20,8 @@ if __name__ == '__main__': ...@@ -20,8 +20,8 @@ if __name__ == '__main__':
update = 'Last update: ' + update update = 'Last update: ' + update
authors_list = '' authors_list = ''
for author in authors: for author in authors:
first_name = author.replace(',','').split()[1] first_name = author.replace(',',' ').split(" ")[1]
last_name = author.replace(',','').split()[0] last_name = author.replace(',',' ').split(" ")[0]
authors_list = authors_list + first_name + ' ' + last_name authors_list = authors_list + first_name + ' ' + last_name
if authors.index(author) < len(authors) -2 : if authors.index(author) < len(authors) -2 :
authors_list = authors_list + ', ' authors_list = authors_list + ', '
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment