Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Upgrading xmltodict from 0.12 to 0.13 dropped OrderedDict support and broke filtering for this type. This is a fix.
  • Loading branch information
tibroc committed Mar 25, 2024
1 parent 641398b commit 17331b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbb-exporter/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def get_meetings():
response = []

for meeting in meetings:
if type(meeting) != OrderedDict:
if not isinstance(meeting, dict):
continue

response.append(meeting)
Expand Down Expand Up @@ -66,7 +66,7 @@ def get_recordings(state: str):
response = []

for recording in recordings:
if type(recording) != OrderedDict:
if not isinstance(recording, dict):
continue

response.append(recording)
Expand Down

0 comments on commit 17331b3

Please sign in to comment.