Skip to content

Commit

Permalink
Merge pull request #129 from virtUOS/fix-#128-OrderedDict
Browse files Browse the repository at this point in the history
Fix #128
  • Loading branch information
greenstatic authored Apr 3, 2024
2 parents 641398b + d6a173b commit 1fd5c43
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 1fd5c43

Please sign in to comment.