mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 03:08:46 +02:00
refactor: Replace last replace with call of dedicated function
This commit is contained in:
parent
c2f1670032
commit
38d19a835d
@ -233,7 +233,7 @@ def name_from_beteiligung(data: dict) -> str:
|
||||
name = data["XJustiz_Daten"]["Grunddaten"]["Verfahrensdaten"]["Beteiligung"][0][
|
||||
"Beteiligter"
|
||||
]["Organisation"]["Bezeichnung"]["Bezeichnung_Aktuell"]
|
||||
return name.replace('"', "")
|
||||
return remove_traling_and_leading_quotes(name)
|
||||
|
||||
|
||||
def map_rechtsform(company_name: str, data: dict) -> CompanyTypeEnum | None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user