e
This commit is contained in:
parent
d7c64fdeae
commit
00000d94fc
8 changed files with 38 additions and 33 deletions
|
|
@ -58,7 +58,7 @@ async def get_events(
|
|||
start_dt = now.delta(hours=-1)
|
||||
end_dt = now.delta(minutes=10)
|
||||
|
||||
for category, streams in api_data["streams"].items():
|
||||
for category, streams in api_data.get("streams", {}).items():
|
||||
if not streams:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue