progress bar, fix docker

This commit is contained in:
Elijah McMorris 2023-12-16 00:35:55 -08:00
parent 8b3311ff21
commit ee15b46ae2
Signed by: NexVeridian
SSH key fingerprint: SHA256:bsA1SKZxuEcEVHAy3gY1HUeM5ykRJl0U0kQHQn0hMg8
8 changed files with 71 additions and 25 deletions

View file

@ -125,8 +125,8 @@ fn get_name(entity: &Entity) -> String {
entity
.labels
.get(&Lang(WIKIDATA_LANG.to_string()))
.expect("No label found")
.to_string()
.map(|label| label.to_string())
.unwrap_or_default()
}
fn get_description(entity: &Entity) -> Option<String> {