"Teilnehmer verlässt Raum" hinzu
This commit is contained in:
parent
ea9d151631
commit
54abce2ea7
|
@ -213,8 +213,13 @@ def process_line(line):
|
||||||
# participant is leaving a the room
|
# participant is leaving a the room
|
||||||
leaving_match = leaving.match(erg.group(7))
|
leaving_match = leaving.match(erg.group(7))
|
||||||
if leaving_match:
|
if leaving_match:
|
||||||
room_name = member_match.group(1).strip()
|
try:
|
||||||
room_member = member_match.group(3).strip()
|
room_name = member_match.group(1).strip()
|
||||||
|
room_member = member_match.group(3).strip()
|
||||||
|
except:
|
||||||
|
room_name = 'undefined'
|
||||||
|
room_member = 'undefined'
|
||||||
|
|
||||||
print('{} leaves {}'.format(room_member, room_name))
|
print('{} leaves {}'.format(room_member, room_name))
|
||||||
if room_name in roomList:
|
if room_name in roomList:
|
||||||
roomList[room_name].delMember(room_member)
|
roomList[room_name].delMember(room_member)
|
||||||
|
|
Loading…
Reference in New Issue