Skip to content

Commit

Permalink
Almost Appease Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewglanz committed Nov 7, 2023
1 parent 8a75872 commit 5758527
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ACMAS/app/ACMAS_Web/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,14 @@ def uploadManually(request):
and len(course) > 0
): # If a school, course, question, and answer were entered
if request.user.groups.filter(name="APO").exists():
createFacade().uploadText(school, course, question, answer, assignment_type, True)
createFacade().uploadText(
school, course, question, answer, assignment_type, True
)
print("School: ", school, "\nCourse: ", course)
else:
createFacade().uploadText(school, course, question, answer, assignment_type, False)
createFacade().uploadText(
school, course, question, answer, assignment_type, False
)
print("School: ", school, "\nCourse: ", course)

return render(request, "upload-manually.html", context)
Expand Down

0 comments on commit 5758527

Please sign in to comment.