Properly fixed regional committees

This commit is contained in:
Jim Martens 2020-01-09 18:12:16 +01:00
parent ffe299d8ba
commit ef336cc7c7
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ def get_abbreviated_committee_name(name: str) -> str:
if len(abbreviated_name) == 1:
abbreviated_name = f"A{abbreviated_name}"
elif start_regional_committee in name:
second_part = name[len(start_committee):]
second_part = name[len(start_regional_committee):]
second_split = second_part.split(sep="/")
abbreviated_name = f"Ra{get_abbreviation(second_split)}"