Commit e60dd438 authored by Tom Kunze's avatar Tom Kunze
Browse files

parse_univis: Select earlier exercise if multiple buddies are possible.

parent 87dfd85d
......@@ -196,9 +196,11 @@ def _find_Buddys():
)
if len(buddys) >= 2:
print("Found at least two buddys for lecture {}:\n{}\n".format(
str(exercise), list(map(lambda x: str(x), buddys))), file=sys.stderr)
continue
# Select exercise with earlier start
buddys = buddys.order_by('start')
#print("Found at least two buddys for lecture {}:\n{}\n".format(
# str(exercise), list(map(lambda x: str(x), buddys))), file=sys.stderr)
#continue
if not len(buddys):
continue
......
Supports Markdown
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