Added a way to specify a default value for backfill.py #8
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds the
--default
flag forbackfill.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:
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.pattern
variable was renamed torx_HTML
to better represent what it does.