e
This commit is contained in:
parent
a02d30459a
commit
00000d9855
5 changed files with 98 additions and 42 deletions
|
|
@ -50,7 +50,7 @@ async def get_schedule(client: httpx.AsyncClient, base_url: str) -> list[dict]:
|
|||
)
|
||||
|
||||
if " - " in after_time:
|
||||
sport, event_name = [x.strip() for x in after_time.split(" - ", 1)]
|
||||
sport, event_name = (x.strip() for x in after_time.split(" - ", 1))
|
||||
else:
|
||||
sport, event_name = "", after_time
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue