From 2f4189bc3126b9c969a591c57d41cf0b3eec5397 Mon Sep 17 00:00:00 2001 From: HeNine <> Date: Sun, 7 Nov 2021 14:46:22 +0100 Subject: [PATCH] One more database fix --- buscribe/buscribe/buscribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buscribe/buscribe/buscribe.py b/buscribe/buscribe/buscribe.py index aa32519..c42f48b 100644 --- a/buscribe/buscribe/buscribe.py +++ b/buscribe/buscribe/buscribe.py @@ -84,7 +84,7 @@ def get_end_of_transcript(db_cursor): """Grab the end timestamp of the current transcript. If there is no existing transcript returns default; used for cold starts.""" - db_cursor.execute("SELECT end_time FROM buscribe.public.buscribe_transcriptions ORDER BY end_time DESC LIMIT 1") + db_cursor.execute("SELECT end_time FROM buscribe_transcriptions ORDER BY end_time DESC LIMIT 1") end_of_transcript_row = db_cursor.fetchone() return end_of_transcript_row.end_time if end_of_transcript_row is not None else None