Skip to content

Commit

Permalink
refactor: use correct datatype for relevancy
Browse files Browse the repository at this point in the history
"relevancy" has to be a string
  • Loading branch information
babslgam authored and koeaw committed Mar 27, 2024
1 parent 4936e67 commit d048328
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def parse_entities_dataframe(sheet_name, df, file):
character_surname = row["Nachname"]
character_alternative_name = row["alternativeName"]
character_description = row["Beschreibung"]
character_relevancy = RELEVANCIES.get(row["Rolle"])
character_relevancy = RELEVANCIES.get(row["Rolle"], "")
character_fictionality = row["Kategorie"]
character_fictionality_degree = FICTIONALITY_DEGREES[character_fictionality]
related_work_siglum = row["Sigle"]
Expand Down

0 comments on commit d048328

Please sign in to comment.