use uvicorn directly, fix f-string error

This commit is contained in:
Micha Albert 2024-09-14 21:48:04 -04:00
parent 743692cac9
commit 5b17a6aef5
No known key found for this signature in database
GPG key ID: 33149159A417BBCE
2 changed files with 2 additions and 2 deletions

View file

@ -275,7 +275,7 @@ async def github_callback(request: Request):
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"{'\n'.join([recording + ' for ' + str(get_recording_duration(recording, user_stream_key)) + 'minutes' for recording in stream_recs])}", # type: ignore
"text": '\n'.join([recording + ' for ' + str(get_recording_duration(recording, user_stream_key)) + 'minutes' for recording in stream_recs]), # type: ignore
},
},
{