Skip to content

Commit

Permalink
black 24.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock committed Apr 21, 2024
1 parent 2909dde commit 14958e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# FSRS4Anki Helper

[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

FSRS4Anki Helper is an Anki add-on that supports [FSRS4Anki](https://github.com/open-spaced-repetition/fsrs4anki) scheduler. It has six main features:

- **Reschedule** cards based on their entire review histories.
Expand Down
6 changes: 3 additions & 3 deletions browser/custom_columns.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ def on_browser_did_fetch_row(
active_columns: Sequence[str],
) -> None:
if (
index := active_columns.index(self.key)
if self.key in active_columns
else None
index := (
active_columns.index(self.key) if self.key in active_columns else None
)
) is None:
return

Expand Down

0 comments on commit 14958e0

Please sign in to comment.