Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dbosk/canvaslms
Browse files Browse the repository at this point in the history
  • Loading branch information
dbosk committed Feb 23, 2024
2 parents fc5a1dd + e97f1d3 commit f8c1e7e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/canvaslms/cli/submissions.nw
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import rich.markdown
import rich.json
import sys
import tempfile
import textwrap
import urllib.request

<<functions>>
Expand Down Expand Up @@ -970,12 +971,16 @@ if json_format:
"comments": comments
}
else:
result += f"{criterion['description']}: "
result += f"- {criterion['description']}: "
if rating:
result += f"{rating['description']} ({rating['points']})"
else:
result += "-"
result += "\n"
if comments:
result += textwrap.indent(textwrap.fill(f"- Comment: {comments}"),
" ")
result += "\n"
@

We can get the rating of a rubric from the rubric assessment.
Expand Down

0 comments on commit f8c1e7e

Please sign in to comment.