Skip to content

Commit

Permalink
Merge pull request #32 from lekanteto/main
Browse files Browse the repository at this point in the history
Only list logbook entries that are 'listed'
  • Loading branch information
lemeryfertitta authored Mar 24, 2024
2 parents cd8c1fd + 07c7be5 commit 154fc9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/boardlib/api/aurora.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 154fc9d

Please sign in to comment.