Fixed regional committees
This commit is contained in:
parent
d7f576f59b
commit
eadd7bfcd0
|
@ -151,7 +151,7 @@ def get_abbreviated_committee_name(name: str) -> str:
|
||||||
abbreviated_name = f"A{abbreviated_name}"
|
abbreviated_name = f"A{abbreviated_name}"
|
||||||
elif start_regional_committee in name:
|
elif start_regional_committee in name:
|
||||||
second_part = name[len(start_committee):]
|
second_part = name[len(start_committee):]
|
||||||
second_split = second_part.split(sep=",")
|
second_split = second_part.split(sep="/")
|
||||||
abbreviated_name = f"Ra{get_abbreviation(second_split)}"
|
abbreviated_name = f"Ra{get_abbreviation(second_split)}"
|
||||||
|
|
||||||
return abbreviated_name
|
return abbreviated_name
|
||||||
|
|
Loading…
Reference in New Issue