From 6c3927682b76c36433262afe1533e02236e3d3ac Mon Sep 17 00:00:00 2001 From: lekanteto Date: Fri, 22 Mar 2024 09:41:06 +0100 Subject: [PATCH] Only list logbook entries that are 'listed' --- src/boardlib/api/aurora.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boardlib/api/aurora.py b/src/boardlib/api/aurora.py index b6fee0a..3d9898e 100644 --- a/src/boardlib/api/aurora.py +++ b/src/boardlib/api/aurora.py @@ -259,6 +259,8 @@ def logbook_entries(board, username, password, grade_type="font"): raw_entries = get_logbook(board, login_info["token"], login_info["user_id"]) grades = get_grades(board) for raw_entry in raw_entries: + if not raw_entry["is_listed"]: + continue attempt_id = raw_entry["attempt_id"] yield { "board": board,