diff --git a/hektor.py b/hektor.py index 37130d09379f3331e25288830cd5c27c83b75129..4d1a540e48f115aa182288ed4ec24d9005c2dcb4 100644 --- a/hektor.py +++ b/hektor.py @@ -234,8 +234,8 @@ def do_anonymous(students: Dict[str, Union[str, List]]): } for r, student in zip(reverser, students)] with open(args.personal_secret_table, 'w') as out: - print('key, previous identifier, fullname', file=out) - print('\n'.join('%s %s %s' % (anonymous_key, + print('key;previous identifier;fullname', file=out) + print('\n'.join('%s;%s;%s' % (anonymous_key, data['identifier'], data['fullname']) for anonymous_key, data in reverser.items()), file=out)