diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ca6f97..3ebe0b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,4 +7,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Added - A changelog +- Support for embedding Python libraries at the category or puzzle level - Minimal PWA support to permit caching of currently-unlocked content diff --git a/devel/moth.py b/devel/moth.py index a5e3d00..623a44e 100644 --- a/devel/moth.py +++ b/devel/moth.py @@ -200,6 +200,10 @@ class Puzzle: LOGGER.debug("Handling key: %s, value: %s", key, val) if key == 'author': self.authors.append(val) + elif key == 'authors': + if not isinstance(val, list): + raise ValueError("Authors must be a list, got %s, instead" & (type(val),)) + self.authors = list(val) elif key == 'summary': self.summary = val elif key == 'answer':