From ef336cc7c74b84dd254a4f79fb18b44604cc011e Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 9 Jan 2020 18:12:16 +0100 Subject: [PATCH] Properly fixed regional committees --- src/twomartens/allrisscraper/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/allrisscraper/main.py b/src/twomartens/allrisscraper/main.py index b7b123d..eccc35f 100644 --- a/src/twomartens/allrisscraper/main.py +++ b/src/twomartens/allrisscraper/main.py @@ -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)}"