🐛 修复描述为空
This commit is contained in:
parent
2f29ff7e7e
commit
0e46857c8c
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user