Fixed video conferences

This commit is contained in:
2021-02-02 08:39:58 +01:00
parent a5f49b27fd
commit 15bc2d4e49
3 changed files with 9 additions and 4 deletions

View File

@ -174,11 +174,14 @@ def get_abbreviated_committee_name(name: str, district: str) -> str:
start_youth_help_committee = "Sitzung des Jugendhilfeausschusses"
start_other_committee = "Sitzung des"
end_other_committee = "ausschusses"
start_video_conf = "NICHTÖFFENTLICHE VIDEOKONFERENZ! "
start_video_conf1 = "NICHTÖFFENTLICHE VIDEOKONFERENZ! "
start_video_conf2 = "Nichtöffentliche Videokonferenz "
abbreviated_name = ""
if name.startswith(start_video_conf):
name = name[len(start_video_conf):]
if name.startswith(start_video_conf1):
name = name[len(start_video_conf2):]
if name.startswith(start_video_conf1):
name = name[len(start_video_conf2):]
if name.startswith(start_plenary):
abbreviated_name = "BV"
elif name.startswith(start_committee):