Skip to content
This repository has been archived by the owner on Jun 30, 2024. It is now read-only.

Commit

Permalink
Fix: rewrite path to webwork images on assignment pg
Browse files Browse the repository at this point in the history
  • Loading branch information
bnmnetp committed Feb 2, 2023
1 parent b61bea2 commit 23b3463
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controllers/assignments.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,9 @@ def doAssignment():
'src="../_static/', 'src="' + get_course_url("_static/")
)
htmlsrc = htmlsrc.replace("../_images", get_course_url("_images"))
htmlsrc = htmlsrc.replace(
"generated/webwork", get_course_url("generated/webwork")
)
else:
htmlsrc = None

Expand Down

0 comments on commit 23b3463

Please sign in to comment.