Commit cea88123 authored by Michael Völske's avatar Michael Völske

update exams.py

parent 2909296e
......@@ -64,7 +64,7 @@ def generate_variants(pool_yaml, output_file, student_list_file, column):
newline='', encoding='latin1') as of:
writer = csv.writer(of, delimiter='\t', dialect=dialect)
variable_string = list(pools.keys())
writer.writerow(column + variable_string)
writer.writerow(list(column) + variable_string)
for env in tqdm(items, desc='generating variants'):
variant_string = [f'{choice(variants)}'
for variants in pools.values()]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment