Return blank album author ID when it doesn't exist. (#615)

* Return blank album author ID when it doesn't exist.

* Revert "Return blank album author ID when it doesn't exist."

This reverts commit ccc5cf93ab4e28fc688db93a0066104b1c4e9e3e.

* Return blank album author ID when it doesn't exist.
This commit is contained in:
Cory Marshall 2024-07-11 00:59:03 -03:00 • committed by GitHub
commit cd502aa517
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ def parse_base_header(header: Dict) -> Dict:
return {
"author": {
"name": nav(strapline, [*RUN_TEXT]),
"id": nav(strapline, ["runs", 0, *NAVIGATION_BROWSE_ID]),
"id": nav(strapline, ["runs", 0, *NAVIGATION_BROWSE_ID], True),
},
"title": nav(header, TITLE_TEXT),
}