diff --git a/defs/utils.py b/defs/utils.py index 560a37f..7aaa878 100644 --- a/defs/utils.py +++ b/defs/utils.py @@ -13,7 +13,7 @@ class Release: def __init__(self, data: dict): self.name: str = data["name"] self.url: str = data["url"] - self.description: str = data["description"] + self.description: str = data.get("description", "") self.publishedAt: str = strf_time(data["publishedAt"]) self.publishedAtTime: datetime = strp_time(data["publishedAt"]) self.tagName: str = data["tagName"]