1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 08:22:56 +01:00

Add cover_url attribute

This commit is contained in:
Alex Raubach 2018-08-31 23:34:41 -04:00
parent 8273ca1a77
commit fe76b5427b

View file

@ -30,6 +30,7 @@ class Section:
title = attr.ib()
author = attr.ib()
url = attr.ib()
cover_url = attr.ib(default='')
id = attr.ib(default=attr.Factory(_default_uuid_string), convert=str)
contents = attr.ib(default=attr.Factory(list))
footnotes = attr.ib(default=attr.Factory(list))