From bd3e35936ab1e9a61700f249154e462a9eafc142 Mon Sep 17 00:00:00 2001 From: ducklet Date: Tue, 7 Dec 2021 23:25:01 +0100 Subject: [PATCH] fix access to renamed db column --- unwind/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unwind/db.py b/unwind/db.py index c8ef3a0..a34b2ba 100644 --- a/unwind/db.py +++ b/unwind/db.py @@ -609,7 +609,7 @@ async def find_movies( conditions.append(f"{Movie._table}.media_type!='TV Episode'") if not include_unrated: - conditions.append(f"{Movie._table}.score NOTNULL") + conditions.append(f"{Movie._table}.imdb_score NOTNULL") query = f""" SELECT {','.join(sql_fields(Movie))}