mirror of https://github.com/dirtbags/moth.git
commit
08f2e95f89
|
@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [3.4.2] - 2019-11-18
|
||||||
|
### Fixed
|
||||||
|
- Issue with multiple answers in devel server and YAML-format .moth
|
||||||
|
|
||||||
## [3.4.1] - 2019-11-17
|
## [3.4.1] - 2019-11-17
|
||||||
### Fixed
|
### Fixed
|
||||||
- Scoreboard was double-counting points
|
- Scoreboard was double-counting points
|
||||||
|
|
|
@ -249,6 +249,10 @@ class Puzzle:
|
||||||
self.success.mastery = val
|
self.success.mastery = val
|
||||||
elif key == "solution":
|
elif key == "solution":
|
||||||
self.solution = val
|
self.solution = val
|
||||||
|
elif key == "ksas":
|
||||||
|
if not isinstance(val, list):
|
||||||
|
raise ValueError("KSAs must be a list, got %s, instead" & (type(val),))
|
||||||
|
self.ksas = val
|
||||||
elif key == "ksa":
|
elif key == "ksa":
|
||||||
self.ksas.append(val)
|
self.ksas.append(val)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue