Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a way to specify a default value for backfill.py #8

Merged
merged 4 commits into from
Jan 29, 2023

Conversation

Aquafina-water-bottle
Copy link
Collaborator

This adds the --default flag for backfill.py, so you can specify something like --default 0 to set the cards without frequencies to 0. People should be able to re-run the script with this flag if they already ran the script once, to set all notes that had no frequencies found to 0.

This also fixes a few small things I didn't catch from stazor's PR:

  • The remove_html function was placed incorrectly in the ankiconnect section, so now it's moved it underneath it instead and the separation is a bit more apparent.
  • The pattern variable was renamed to rx_HTML to better represent what it does.

@MarvNC MarvNC merged commit 6ab32fe into MarvNC:main Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants