Skip to content

Commit

Permalink
Merge pull request #192 from dbosk/bugfix-wrong-module-path
Browse files Browse the repository at this point in the history
Adds missing `cli` in import statement
  • Loading branch information
dbosk authored Nov 4, 2024
2 parents b833487 + cf504ab commit 2454b82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/canvaslms/cli/submissions.nw
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import canvasapi.exceptions
import canvasapi.file
import canvasapi.submission

import canvaslms
import canvaslms.cli
import canvaslms.cli.assignments as assignments
import canvaslms.cli.users as users
import canvaslms.hacks.canvasapi
Expand Down Expand Up @@ -755,8 +755,8 @@ def resolve_grader(submission):
try:
return submission.assignment.course.get_user(submission.grader_id)
except canvasapi.exceptions.ResourceDoesNotExist:
canvaslms.warn(f"unknown grader {submission.grader_id} "
f"for submission {submission}.")
canvaslms.cli.warn(f"unknown grader {submission.grader_id} "
f"for submission {submission}.")
return f"unknown grader {submission.grader_id}"
@

Expand Down

0 comments on commit 2454b82

Please sign in to comment.