Added support for video conferences

This commit is contained in:
Jim Martens 2020-12-01 19:41:16 +01:00
parent 6fd875f78d
commit 6249e60276
1 changed files with 4 additions and 0 deletions

View File

@ -171,7 +171,11 @@ 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! "
abbreviated_name = ""
if name.startswith(start_video_conf):
name = name.removeprefix(start_video_conf)
if name.startswith(start_plenary):
abbreviated_name = "BV"
elif name.startswith(start_committee):