Skip to content

Commit

Permalink
Fix extensions set
Browse files Browse the repository at this point in the history
  • Loading branch information
znick committed Apr 13, 2024
1 parent 3f1c5be commit 404b79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion anytask/courses/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def course_settings(request, course_id):
issue.set_teacher(teacher=teacher)

if 'rb_extensions[]' in request.POST:
course.filename_extensions = request.POST.getlist('rb_extensions[]')
course.filename_extensions.set(request.POST.getlist('rb_extensions[]'))
else:
course.filename_extensions.clear()

Expand Down

0 comments on commit 404b79b

Please sign in to comment.