diff --git a/sites/__init__.py b/sites/__init__.py index b4d8572..ef72f4e 100644 --- a/sites/__init__.py +++ b/sites/__init__.py @@ -27,6 +27,7 @@ class Image: contents = attr.ib() content_type = attr.ib() + @attr.s class Chapter: title = attr.ib() @@ -34,6 +35,7 @@ class Chapter: date = attr.ib(default=False) images = attr.ib(default=attr.Factory(list)) + @attr.s class Section: title = attr.ib()