apluslms / a-plus-rst-tools

Tools to publish RST course content for mooc-grader and a-plus. Should be cloned as a course submodule.
MIT License
6 stars 24 forks source link

Fix crash when no exercise URL is set manually #140

Closed ihalaij1 closed 2 years ago

ihalaij1 commented 2 years ago

Description

What?

Fix KeyError (and SphinxError) when no exercise URL was set manually.

Why?

These errors cause the course build to crash.

How?

Fixed the code in abstract_exercise.py and aplus_setup.py

Fixes #139

Testing

What type of test did you run?

Tested that aplus-manual works with these changes.

Did you test the changes in

Translation

Programming style

Have you updated the README or other relevant documentation?

Is it Done?