Skip to content

Commit

Permalink
"not wxr.config.analyze_templates" -> None
Browse files Browse the repository at this point in the history
This seems incorrect, in that it is a boolean and
and config doesn't have analyze_templates. Changed
to "None", because this seems to be the default
assumption of the function being called.
  • Loading branch information
kristian-clausal committed Jan 20, 2025
1 parent aa5bbf5 commit 284de32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wiktextract/wiktwords.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def main():
wxr.wtp,
[Path(p) for p in args.override],
skip_extract_dump,
not wxr.config.analyze_templates,
None,
)

if args.page and not args.skip_extraction:
Expand Down

0 comments on commit 284de32

Please sign in to comment.