Handle cards without descriptions and thumbnails

Fixes #407
This commit is contained in:
JustAnotherArchivist
2022-02-17 01:49:32 +00:00
parent 25ee014e29
commit 878f2a3c7a

View File

@@ -135,9 +135,9 @@ class Place:
@dataclasses.dataclass
class Card:
title: str
description: str
url: str
thumbnailUrl: str
description: typing.Optional[str] = None
thumbnailUrl: typing.Optional[str] = None
@dataclasses.dataclass